]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix TSC build error on 32bit
authorThomas Gleixner <tglx@linutronix.de>
Tue, 15 Jul 2008 20:08:04 +0000 (22:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Jul 2008 20:46:47 +0000 (22:46 +0200)
commit6e22827e029f9cdcfc8e63e475408a4d003c3859
tree2f4644aec0d326e23327ed2297a4a4f52b1d830e
parentd802719573d8e231c967b18067ef47baf87d9171
x86: fix TSC build error on 32bit

Dave Hansen reported a build error on 32bit which went unnoticed
as newer gcc versions seem to optimize unused static functions
away before compiling them.

Make vread_tsc() depend on CONFIG_X86_64

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