]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16bcf5489b5dbc347b551971aa50fb45639c43c1
treef494f852fbbc4aef95ab92ca45dfdd14c819fc72
parent64608d7c68f6b41ba73759b4926686a8fe4ec161
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