Add ioprio values directly.
The ioprio.h header is not a uapi header, so remove it's use and add the two values that this code needs to use. Bug: 30072483 Change-Id: I5c8b6f40bd60a43f50ac26792f96d2fa3f6db020
This commit is contained in:
parent
ddbcecec3a
commit
84421d8475
|
@ -24,7 +24,8 @@
|
|||
#include <cutils/iosched_policy.h>
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
#include <linux/ioprio.h>
|
||||
#define IOPRIO_WHO_PROCESS (1)
|
||||
#define IOPRIO_CLASS_SHIFT (13)
|
||||
#include <sys/syscall.h>
|
||||
#define __android_unused
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue