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>
This commit is contained in:
committed by
Ingo Molnar
parent
b9b34f24b2
commit
5cda395f4a
@@ -106,7 +106,7 @@ static int enabled_via_apicbase;
|
|||||||
* the BIOS or the operating system must switch out of
|
* the BIOS or the operating system must switch out of
|
||||||
* PIC Mode by changing the IMCR.
|
* PIC Mode by changing the IMCR.
|
||||||
*/
|
*/
|
||||||
static inline imcr_pic_to_apic(void)
|
static inline void imcr_pic_to_apic(void)
|
||||||
{
|
{
|
||||||
/* select IMCR register */
|
/* select IMCR register */
|
||||||
outb(0x70, 0x22);
|
outb(0x70, 0x22);
|
||||||
@@ -114,7 +114,7 @@ static inline imcr_pic_to_apic(void)
|
|||||||
outb(0x01, 0x23);
|
outb(0x01, 0x23);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline imcr_apic_to_pic(void)
|
static inline void imcr_apic_to_pic(void)
|
||||||
{
|
{
|
||||||
/* select IMCR register */
|
/* select IMCR register */
|
||||||
outb(0x70, 0x22);
|
outb(0x70, 0x22);
|
||||||
|
Reference in New Issue
Block a user