diff options
Diffstat (limited to 'include/linux/prctl.h')
-rw-r--r-- | include/linux/prctl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/prctl.h b/include/linux/prctl.h index 3800639775ae..5c80b1939636 100644 --- a/include/linux/prctl.h +++ b/include/linux/prctl.h | |||
@@ -67,4 +67,10 @@ | |||
67 | #define PR_CAPBSET_READ 23 | 67 | #define PR_CAPBSET_READ 23 |
68 | #define PR_CAPBSET_DROP 24 | 68 | #define PR_CAPBSET_DROP 24 |
69 | 69 | ||
70 | /* Get/set the process' ability to use the timestamp counter instruction */ | ||
71 | #define PR_GET_TSC 25 | ||
72 | #define PR_SET_TSC 26 | ||
73 | # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ | ||
74 | # define PR_TSC_SIGSEGV 2 /* throw a SIGSEGV instead of reading the TSC */ | ||
75 | |||
70 | #endif /* _LINUX_PRCTL_H */ | 76 | #endif /* _LINUX_PRCTL_H */ |