[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>
This commit is contained in:

committed by
Linus Torvalds

parent
129f69465b
commit
a3a255e744
@@ -47,7 +47,7 @@ static inline cycles_t get_cycles (void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
extern unsigned long cpu_khz;
|
||||
extern unsigned int cpu_khz;
|
||||
|
||||
extern int read_current_timer(unsigned long *timer_value);
|
||||
#define ARCH_HAS_READ_CURRENT_TIMER 1
|
||||
|
Reference in New Issue
Block a user