diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-07-18 12:59:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 13:05:29 -0400 |
commit | 9a8f0e6b5dfe3b4f330fc82b16a4000f5688fce8 (patch) | |
tree | 3e6f8b6efeec51f8d0b32a6dcd8ed39183667794 /arch/x86/kernel/apic_32.c | |
parent | 94a8c3c2437c8946f1b6c8e0b2c560a7db8ed3c6 (diff) |
x86: let 32bit use apic_ops too - fix
Fix VMI apic_ops.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r-- | arch/x86/kernel/apic_32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index 47ff978aecfd..cb54d9e20f94 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c | |||
@@ -145,6 +145,11 @@ static int modern_apic(void) | |||
145 | return lapic_get_version() >= 0x14; | 145 | return lapic_get_version() >= 0x14; |
146 | } | 146 | } |
147 | 147 | ||
148 | /* | ||
149 | * Paravirt kernels also might be using these below ops. So we still | ||
150 | * use generic apic_read()/apic_write(), which might be pointing to different | ||
151 | * ops in PARAVIRT case. | ||
152 | */ | ||
148 | void xapic_wait_icr_idle(void) | 153 | void xapic_wait_icr_idle(void) |
149 | { | 154 | { |
150 | while (apic_read(APIC_ICR) & APIC_ICR_BUSY) | 155 | while (apic_read(APIC_ICR) & APIC_ICR_BUSY) |