aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2014-04-23 19:26:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-23 19:26:44 +0000
commit4ee25cc5289fb019d0a462e63c6b3a2e0ec5f36e (patch)
tree88d2bb433d8fcd450af1f2bc9166a83cdee7db82
parent4710030715374b90d5cf3c8972f72de15badb943 (diff)
parentcdbaa8e53e6606f67a276596cf183ddf3b44550f (diff)
downloadkernel-headers-4ee25cc5289fb019d0a462e63c6b3a2e0ec5f36e.tar.gz
am cdbaa8e5: Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"
* commit 'cdbaa8e53e6606f67a276596cf183ddf3b44550f': prctl: Adds the PR_SET_TIMERSLACK_PID option
-rw-r--r--original/uapi/linux/prctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/original/uapi/linux/prctl.h b/original/uapi/linux/prctl.h
index 253856a..28bb0b3 100644
--- a/original/uapi/linux/prctl.h
+++ b/original/uapi/linux/prctl.h
@@ -149,6 +149,12 @@
#define PR_GET_TID_ADDRESS 40
+/* Sets the timerslack for arbitrary threads
+ * arg2 slack value, 0 means "use default"
+ * arg3 pid of the thread whose timer slack needs to be set
+ */
+#define PR_SET_TIMERSLACK_PID 41
+
#define PR_SET_VMA 0x53564d41
# define PR_SET_VMA_ANON_NAME 0