aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-09-30 16:01:08 +0530
committerJohn Stultz <john.stultz@linaro.org>2015-11-19 12:38:42 -0800
commitc8b314b38f0edecade1dee7c82b88bfba549546c (patch)
treeaea79840c0324a5899a0bd50f06351d3bd6f6b29 /include/uapi
parent91a845472094a3bebbead0d8bd3616fcda8e2eb2 (diff)
downloadv4.1-c8b314b38f0edecade1dee7c82b88bfba549546c.tar.gz
prctl: reset PR_SET_TIMERSLACK_PID value to avoid conflict
PR_SET_TIMERSLACK_PID value keep colliding with that of newer prctls in mainline (e.g. first with PR_SET_THP_DISABLE, and again with PR_MPX_ENABLE_MANAGEMENT). So reset PR_SET_TIMERSLACK_PID to a large number so as to avoid conflict in the near term while it is out of mainline tree. Corresponding Change-Id up for review in platform/system/core is Icd8c658c8eb62136dc26c2c4c94f7782e9827cdb Change-Id: I061b25473acc020c13ee22ecfb32336bc358e76a Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/prctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/prctl.h b/include/uapi/linux/prctl.h
index 961ea4e61b1..362274c07d3 100644
--- a/include/uapi/linux/prctl.h
+++ b/include/uapi/linux/prctl.h
@@ -194,6 +194,6 @@ struct prctl_mm_map {
* arg2 slack value, 0 means "use default"
* arg3 pid of the thread whose timer slack needs to be set
*/
-#define PR_SET_TIMERSLACK_PID 47
+#define PR_SET_TIMERSLACK_PID 127
#endif /* _LINUX_PRCTL_H */