summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-10-07 11:37:57 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-10-30 11:52:56 -0700
commite00eb88c3d76ac898cc5fe0ab8838af76f9a441b (patch)
treeacc20159dc3207b6e6dea633bff64274ae7dbd6f /9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h
parent473dde00ceca7ff4d07d47dc4e077bb89988fc53 (diff)
downloadprebuilts_ndk-e00eb88c3d76ac898cc5fe0ab8838af76f9a441b.zip
prebuilts_ndk-e00eb88c3d76ac898cc5fe0ab8838af76f9a441b.tar.gz
prebuilts_ndk-e00eb88c3d76ac898cc5fe0ab8838af76f9a441b.tar.bz2
Move 64-bit headers/libs to android-21
64-bit headers/libs hid in android-19, the highest API level when 64-bit started, and the actually number for L wasn't known then. Continue to symlink from other level to android-21, so projects build for both 32- and 64-bit don't need to set LOCAL_SDK_VERSION higher than necessary just to get 64-bit headers/libs, and risk unintended use of new APIs BUG=17885653 Change-Id: I0edef2a624c71b2b2365d5660b4f221303ce15e5
Diffstat (limited to '9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h')
-rw-r--r--9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h b/9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h
new file mode 100644
index 0000000..3cfa598
--- /dev/null
+++ b/9/platforms/android-21/arch-arm64/usr/include/linux/fadvise.h
@@ -0,0 +1,35 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ *** To edit the content of this header, modify the corresponding
+ *** source file (e.g. under external/kernel-headers/original/) then
+ *** run bionic/libc/kernel/tools/update_all.py
+ ***
+ *** Any manual change here will be lost the next time this script will
+ *** be run. You've been warned!
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef FADVISE_H_INCLUDED
+#define FADVISE_H_INCLUDED
+#define POSIX_FADV_NORMAL 0
+#define POSIX_FADV_RANDOM 1
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define POSIX_FADV_SEQUENTIAL 2
+#define POSIX_FADV_WILLNEED 3
+#ifdef __s390x__
+#define POSIX_FADV_DONTNEED 6
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define POSIX_FADV_NOREUSE 7
+#else
+#define POSIX_FADV_DONTNEED 4
+#define POSIX_FADV_NOREUSE 5
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#endif
+#endif