x86: distangle user disabled TSC from unstable
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 May 2008 10:31:00 +0000 (12:31 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 12:08:06 +0000 (14:08 +0200)
commit9ccc906c97e34fd91dc6aaf5b69b52d824386910
treef494f852fbbc4aef95ab92ca45dfdd14c819fc72
parentb6db80ee1331e7beaeb91b4b3d946dd16c72e388
x86: distangle user disabled TSC from unstable

tsc_enabled is set to 0 from the command line switch "notsc" and from
the mark_tsc_unstable code. Seperate those functionalities and replace
tsc_enable with tsc_disable. This makes also the native_sched_clock()
decision when to use TSC understandable.

Preparatory patch to solve the sched_clock() issue on 32 bit.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tsc_32.c