]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
perf/x86: Clean up cap_user_time* setting
authorPeter Zijlstra <peterz@infradead.org>
Thu, 3 Oct 2013 14:00:14 +0000 (16:00 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 07:58:55 +0000 (09:58 +0200)
Currently the cap_user_time_zero capability has different tests than
cap_user_time; even though they expose the exact same data.

Switch from CONSTANT && NONSTOP to sched_clock_stable to also deal
with multi cabinet machines and drop the tsc_disabled() check.. non of
this will work sanely without tsc anyway.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-nmgn0j0muo1r4c94vlfh23xy@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found