Move sched_policy.c off bionic's PR_SET_TIMERSLACK_PID.
Change-Id: I3a27803d46b5b88a10aa8043a114d780ed685e56
diff --git a/libcutils/sched_policy.c b/libcutils/sched_policy.c
index f8ffb1d..2acc3c3 100644
--- a/libcutils/sched_policy.c
+++ b/libcutils/sched_policy.c
@@ -47,6 +47,9 @@
#define CAN_SET_SP_SYSTEM 0 // non-zero means to implement set_sched_policy(tid, SP_SYSTEM)
+// This prctl is only available in Android kernels.
+#define PR_SET_TIMERSLACK_PID 41
+
// timer slack value in nS enforced when the thread moves to background
#define TIMER_SLACK_BG 40000000