summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-24 01:19:49 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-24 09:29:03 +0200
commit6ff10de374cc68ff2024247793176dc8a1b317ea (patch)
treee77572231c98f23bd8942494426d7ba0b43f317d
parent3da757daf86e498872855f0b5e101f763ba79499 (diff)
downloadlinux-6ff10de374cc68ff2024247793176dc8a1b317ea.tar.gz
x86: fix "x86: use cpu_khz for loops_per_jiffy calculation"
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>
-rw-r--r--arch/x86/kernel/tsc_32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/tsc_32.c b/arch/x86/kernel/tsc_32.c
index be729035b30b..0af49fb533e1 100644
--- a/arch/x86/kernel/tsc_32.c
+++ b/arch/x86/kernel/tsc_32.c
@@ -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>