diff options
author | Andrew Morton <akpm@osdl.org> | 2005-06-23 09:08:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 18:45:11 +0200 |
commit | a3a255e744dfa672e741dc24306491139d0de2d8 (patch) | |
tree | c19348966183d3ed79f6e9593a40d95c736e0665 /arch/i386/kernel/smpboot.c | |
parent | [PATCH] Remove i386_ksyms.c, almost. (diff) | |
download | linux-a3a255e744dfa672e741dc24306491139d0de2d8.tar.xz linux-a3a255e744dfa672e741dc24306491139d0de2d8.zip |
[PATCH] x86: cpu_khz type fix
x86_64's cpu_khz is unsigned int and there is no reason why x86 needs to use
unsigned long.
So make cpu_khz unsigned int on x86 as well.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/smpboot.c')
-rw-r--r-- | arch/i386/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index aaad95e7f879..c20d96d5c15c 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c @@ -205,7 +205,7 @@ static void __init synchronize_tsc_bp (void) unsigned long long t0; unsigned long long sum, avg; long long delta; - unsigned long one_usec; + unsigned int one_usec; int buggy = 0; printk(KERN_INFO "checking TSC synchronization across %u CPUs: ", num_booting_cpus()); |