commit | 8fb402bccf203ecca8f9e0202b8fd3c937dece6f | [log] [tgz] |
---|---|---|
author | Erik Bosman <ebn310@few.vu.nl> | Fri Apr 11 18:54:17 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 19 19:19:55 2008 +0200 |
tree | 4f102f9cc81dedbf9271f728a4b1e6e731a6a174 | |
parent | 5deb45e39b946901ae028ccd3a1d0b35fa387475 [diff] |
generic, x86: add prctl commands PR_GET_TSC and PR_SET_TSC This patch adds prctl commands that make it possible to deny the execution of timestamp counters in userspace. If this is not implemented on a specific architecture, prctl will return -EINVAL. ned-off-by: Erik Bosman <ejbosman@cs.vu.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>