]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix "x86: use cpu_khz for loops_per_jiffy calculation"
authorIngo Molnar <mingo@elte.hu>
Mon, 23 Jun 2008 23:19:49 +0000 (01:19 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Jun 2008 07:29:03 +0000 (09:29 +0200)
fix:

arch/x86/kernel/tsc_32.c: In function ‘tsc_init':
arch/x86/kernel/tsc_32.c:421: error: ‘lpj_tsc' undeclared (first use in this function)
arch/x86/kernel/tsc_32.c:421: error: (Each undeclared identifier is reported only once
arch/x86/kernel/tsc_32.c:421: error: for each function it appears in.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/tsc_32.c

index be729035b30bc7a1ea1272f388f400b9a532ec3a..0af49fb533e1acc67fc636cc1d7ddfb07c8d082b 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/sched.h>
 #include <linux/clocksource.h>
 #include <linux/workqueue.h>
+#include <linux/delay.h>
 #include <linux/cpufreq.h>
 #include <linux/jiffies.h>
 #include <linux/init.h>