]> git.karo-electronics.de Git - karo-tx-linux.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)
committerChris Wright <chrisw@sous-sol.org>
Mon, 9 Jun 2008 18:27:02 +0000 (11:27 -0700)
commit94aa6550e8668fab1997e2d57a48b22cf68090b2
tree0ce699538150017d3e4e16b1ed79f3c15de73696
parentcf8ec9fd81d2be5cdcd978ca7ca1977d0548d7cb
x86: distangle user disabled TSC from unstable

upstream commit: 9ccc906c97e34fd91dc6aaf5b69b52d824386910

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/x86/kernel/tsc_32.c