diff options
Diffstat (limited to 'include/asm-x86/apic_64.h')
-rw-r--r-- | include/asm-x86/apic_64.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/apic_64.h b/include/asm-x86/apic_64.h index 7bfad0224178..9d0c06c4df91 100644 --- a/include/asm-x86/apic_64.h +++ b/include/asm-x86/apic_64.h | |||
@@ -38,14 +38,14 @@ struct pt_regs; | |||
38 | * Basic functions accessing APICs. | 38 | * Basic functions accessing APICs. |
39 | */ | 39 | */ |
40 | 40 | ||
41 | static __inline void apic_write(unsigned long reg, unsigned int v) | 41 | static __inline void apic_write(unsigned long reg, u32 v) |
42 | { | 42 | { |
43 | *((volatile unsigned int *)(APIC_BASE+reg)) = v; | 43 | *((volatile unsigned int *)(APIC_BASE+reg)) = v; |
44 | } | 44 | } |
45 | 45 | ||
46 | static __inline unsigned int apic_read(unsigned long reg) | 46 | static __inline u32 apic_read(unsigned long reg) |
47 | { | 47 | { |
48 | return *((volatile unsigned int *)(APIC_BASE+reg)); | 48 | return *((volatile u32 *)(APIC_BASE+reg)); |
49 | } | 49 | } |
50 | 50 | ||
51 | extern void apic_wait_icr_idle(void); | 51 | extern void apic_wait_icr_idle(void); |