diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 9b849d4957dc..4b48ff9163ca 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -106,7 +106,7 @@ static int enabled_via_apicbase; | |||
106 | * the BIOS or the operating system must switch out of | 106 | * the BIOS or the operating system must switch out of |
107 | * PIC Mode by changing the IMCR. | 107 | * PIC Mode by changing the IMCR. |
108 | */ | 108 | */ |
109 | static inline imcr_pic_to_apic(void) | 109 | static inline void imcr_pic_to_apic(void) |
110 | { | 110 | { |
111 | /* select IMCR register */ | 111 | /* select IMCR register */ |
112 | outb(0x70, 0x22); | 112 | outb(0x70, 0x22); |
@@ -114,7 +114,7 @@ static inline imcr_pic_to_apic(void) | |||
114 | outb(0x01, 0x23); | 114 | outb(0x01, 0x23); |
115 | } | 115 | } |
116 | 116 | ||
117 | static inline imcr_apic_to_pic(void) | 117 | static inline void imcr_apic_to_pic(void) |
118 | { | 118 | { |
119 | /* select IMCR register */ | 119 | /* select IMCR register */ |
120 | outb(0x70, 0x22); | 120 | outb(0x70, 0x22); |