summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-21/arch-x86/usr/include/linux/compiler.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-10-22 16:31:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-10-22 16:31:49 +0000
commit74db65e4eb138d90293b80dd274203462f8387bf (patch)
tree3645a107c5557215e74fa95418fc4b54e1f67b81 /9/platforms/android-21/arch-x86/usr/include/linux/compiler.h
parent713b0d6c13e57295bb85f89e16da550bd2a99abe (diff)
parent0fbc29f4cd89425f9d7d181ce88bc2d09e377180 (diff)
downloadprebuilts_ndk-74db65e4eb138d90293b80dd274203462f8387bf.zip
prebuilts_ndk-74db65e4eb138d90293b80dd274203462f8387bf.tar.gz
prebuilts_ndk-74db65e4eb138d90293b80dd274203462f8387bf.tar.bz2
Merge "Add real android-21 32-bit headers/libs"
Diffstat (limited to '9/platforms/android-21/arch-x86/usr/include/linux/compiler.h')
-rw-r--r--9/platforms/android-21/arch-x86/usr/include/linux/compiler.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/9/platforms/android-21/arch-x86/usr/include/linux/compiler.h b/9/platforms/android-21/arch-x86/usr/include/linux/compiler.h
new file mode 100644
index 0000000..8e89655
--- /dev/null
+++ b/9/platforms/android-21/arch-x86/usr/include/linux/compiler.h
@@ -0,0 +1,18 @@
+#ifndef _UAPI_LINUX_COMPILER_H
+#define _UAPI_LINUX_COMPILER_H
+
+/*
+ * This file is not currently in the Linux kernel tree.
+ * Upstream uapi headers refer to <linux/compiler.h> but there is
+ * no such uapi file. We've sent this upstream, and are optimistically
+ * adding it to bionic in the meantime. This should be replaced by
+ * a scrubbed header from external/kernel-headers when possible.
+ *
+ * An alternative to this file is to check in a symbolic link to the
+ * non-uapi <linux/compiler.h>. That's fine for building bionic too.
+ */
+
+#define __user
+#define __force
+
+#endif /* _UAPI_LINUX_COMPILER_H */