diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-07-18 09:59:40 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 19:05:29 +0200 |
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 47ff978aecf..cb54d9e20f9 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c @@ -145,6 +145,11 @@ static int modern_apic(void) return lapic_get_version() >= 0x14; } +/* + * Paravirt kernels also might be using these below ops. So we still + * use generic apic_read()/apic_write(), which might be pointing to different + * ops in PARAVIRT case. + */ void xapic_wait_icr_idle(void) { while (apic_read(APIC_ICR) & APIC_ICR_BUSY) |