Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
arch/x86/kernel/tsc_32.c
··· 1 1 #include <linux/sched.h> 2 2 #include <linux/clocksource.h> 3 3 #include <linux/workqueue.h> 4 + #include <linux/delay.h> 4 5 #include <linux/cpufreq.h> 5 6 #include <linux/jiffies.h> 6 7 #include <linux/init.h>