aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2016-06-03 09:24:32 -0700
committerLuis R. Rodriguez <mcgrof@kernel.org>2016-06-23 15:23:28 -0700
commit3a9ae36aa1a7a0971f444a18ca3877fa450b6e46 (patch)
treef8b983e6e535baf641e10def5b8bff1ad38228e3
parent47033ff2561a193003d7442d9a90eccd631f707e (diff)
downloadlinker-tables-3a9ae36aa1a7a0971f444a18ca3877fa450b6e46.tar.gz
kernel.h: add __used definition
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r--include/linux/kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index c72aece..b14e25b 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <unistd.h>
/* Not everyone customizes this so leave it as-is for userspace */
@@ -31,3 +32,5 @@ while (0)
} \
} \
while (0)
+
+#define __used __attribute__((__used__))