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 /include/asm-i386 | |
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 'include/asm-i386')
-rw-r--r-- | include/asm-i386/timex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/timex.h b/include/asm-i386/timex.h index e370f907bd39..292b5a68f627 100644 --- a/include/asm-i386/timex.h +++ b/include/asm-i386/timex.h | |||
@@ -47,7 +47,7 @@ static inline cycles_t get_cycles (void) | |||
47 | return ret; | 47 | return ret; |
48 | } | 48 | } |
49 | 49 | ||
50 | extern unsigned long cpu_khz; | 50 | extern unsigned int cpu_khz; |
51 | 51 | ||
52 | extern int read_current_timer(unsigned long *timer_value); | 52 | extern int read_current_timer(unsigned long *timer_value); |
53 | #define ARCH_HAS_READ_CURRENT_TIMER 1 | 53 | #define ARCH_HAS_READ_CURRENT_TIMER 1 |