[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090413153924.GA20287@mailshack.com>
Date: Mon, 13 Apr 2009 17:39:24 +0200
From: Alexander van Heukelum <heukelum@...lshack.com>
To: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>
Cc: Cyrill Gorcunov <gorcunov@...nvz.org>, heukelum@...tmail.fm
Subject: [PATCH] Fix warnings after: x86: apic - introduce imcr_ helpers
Impact: fix compiler warnings
The patch "introduce imcr_ helpers" introduced good comments, but
also a few compile warnings. This fixes it.
Signed-off-by: Alexander van Heukelum <heukelum@...tmail.fm>
Acked-by: Cyrill Gorcunov <gorcunov@...nvz.org>
---
Hi Ingo,
Cyrill forgot to refresh the patches :).
Greetings,
Alexander
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 054f604..c3c57b2 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -107,7 +107,7 @@ static int enabled_via_apicbase;
* the BIOS or the operating system must switch out of
* PIC Mode by changing the IMCR.
*/
-static inline imcr_pic_to_apic(void)
+static inline void imcr_pic_to_apic(void)
{
/* select IMCR register */
outb(0x70, 0x22);
@@ -115,7 +115,7 @@ static inline imcr_pic_to_apic(void)
outb(0x01, 0x23);
}
-static inline imcr_apic_to_pic(void)
+static inline void imcr_apic_to_pic(void)
{
/* select IMCR register */
outb(0x70, 0x22);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists