diff options
author | Andrew Morton <akpm@osdl.org> | 2005-06-23 03:08:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:11 -0400 |
commit | a3a255e744dfa672e741dc24306491139d0de2d8 (patch) | |
tree | c19348966183d3ed79f6e9593a40d95c736e0665 /arch/i386/kernel/timers/common.c | |
parent | 129f69465b411592247c408f93d7106939223be1 (diff) |
[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/timers/common.c')
-rw-r--r-- | arch/i386/kernel/timers/common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/kernel/timers/common.c b/arch/i386/kernel/timers/common.c index b38cc0d0c71a..37353bd31803 100644 --- a/arch/i386/kernel/timers/common.c +++ b/arch/i386/kernel/timers/common.c | |||
@@ -163,7 +163,8 @@ void init_cpu_khz(void) | |||
163 | :"=a" (cpu_khz), "=d" (edx) | 163 | :"=a" (cpu_khz), "=d" (edx) |
164 | :"r" (tsc_quotient), | 164 | :"r" (tsc_quotient), |
165 | "0" (eax), "1" (edx)); | 165 | "0" (eax), "1" (edx)); |
166 | printk("Detected %lu.%03lu MHz processor.\n", cpu_khz / 1000, cpu_khz % 1000); | 166 | printk("Detected %u.%03u MHz processor.\n", |
167 | cpu_khz / 1000, cpu_khz % 1000); | ||
167 | } | 168 | } |
168 | } | 169 | } |
169 | } | 170 | } |