]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/prctl.h
Merge branch 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block
[linux-2.6-omap-h63xx.git] / include / linux / prctl.h
index 3800639775aee4706734b1aa9bb3e55104fe4f3b..5c80b1939636ec556f775692aa5ed27aba5986b4 100644 (file)
 #define PR_CAPBSET_READ 23
 #define PR_CAPBSET_DROP 24
 
+/* Get/set the process' ability to use the timestamp counter instruction */
+#define PR_GET_TSC 25
+#define PR_SET_TSC 26
+# define PR_TSC_ENABLE         1       /* allow the use of the timestamp counter */
+# define PR_TSC_SIGSEGV                2       /* throw a SIGSEGV instead of reading the TSC */
+
 #endif /* _LINUX_PRCTL_H */