aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@mailshack.com>2009-04-13 11:39:24 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-13 16:57:44 -0400
commit5cda395f4a262788d8ed79ac8a26a2b821e5f751 (patch)
treec8af310ed8cedc0a76bfc95354c51e5685b89297 /arch
parentb9b34f24b23ba9e79e07c0980e7fff16af2a67d1 (diff)
x86: fix function definitions after: x86: apic - introduce imcr_ helpers
The patch "introduce imcr_ helpers" introduced good comments, but also a few new compile warnings. This fixes the function definitions to have a 'void' return type. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> LKML-Reference: <20090413153924.GA20287@mailshack.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic/apic.c4
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 */
109static inline imcr_pic_to_apic(void) 109static 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
117static inline imcr_apic_to_pic(void) 117static 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);