libhdf5: limit to aarch64 for now
[termux-packages] / packages / aapt / libcutils-patch.txt
CommitLineData
d4132dd0
FF
1https://android.googlesource.com/platform/system/core/+/84421d8475ca8262a914b3875ed110fc6187ee74
2
3Add ioprio values directly.
4
5The ioprio.h header is not a uapi header, so remove it's use and
6add the two values that this code needs to use.
7
8Bug: 30072483
9Change-Id: I5c8b6f40bd60a43f50ac26792f96d2fa3f6db020
10
11diff -u -r ../libcutils-orig/iosched_policy.c ./iosched_policy.c
12--- ../libcutils-orig/iosched_policy.c 2017-06-28 13:45:36.296011839 +0200
13+++ ./iosched_policy.c 2017-06-28 13:45:47.307888245 +0200
14@@ -24,7 +24,8 @@
15 #include <cutils/iosched_policy.h>
16
17 #if defined(__ANDROID__)
18-#include <linux/ioprio.h>
19+#define IOPRIO_WHO_PROCESS (1)
20+#define IOPRIO_CLASS_SHIFT (13)
21 #include <sys/syscall.h>
22 #define __android_unused
23 #else