x86: use u32 for some lapic functions

Use u32 so 32 and 64bit have the same interface.

Andrew Morton: xen, lguest build fixes

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Thomas Gleixner
2008-01-30 13:30:15 +01:00
committed by Ingo Molnar
parent 3c6bb07ac1
commit 42e0a9aa5d
6 changed files with 22 additions and 24 deletions

View File

@@ -788,11 +788,11 @@ static void lguest_wbinvd(void)
* code qualifies for Advanced. It will also never interrupt anything. It
* does, however, allow us to get through the Linux boot code. */
#ifdef CONFIG_X86_LOCAL_APIC
static void lguest_apic_write(unsigned long reg, unsigned long v)
static void lguest_apic_write(unsigned long reg, u32 v)
{
}
static unsigned long lguest_apic_read(unsigned long reg)
static u32 lguest_apic_read(unsigned long reg)
{
return 0;
}