aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/paravirt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/paravirt.c')
-rw-r--r--arch/i386/kernel/paravirt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/i386/kernel/paravirt.c b/arch/i386/kernel/paravirt.c
index 5a9bd3250a1a..fe82eb3adf42 100644
--- a/arch/i386/kernel/paravirt.c
+++ b/arch/i386/kernel/paravirt.c
@@ -29,6 +29,8 @@
29#include <asm/time.h> 29#include <asm/time.h>
30#include <asm/irq.h> 30#include <asm/irq.h>
31#include <asm/delay.h> 31#include <asm/delay.h>
32#include <asm/fixmap.h>
33#include <asm/apic.h>
32 34
33/* nop stub */ 35/* nop stub */
34static void native_nop(void) 36static void native_nop(void)
@@ -446,6 +448,12 @@ struct paravirt_ops paravirt_ops = {
446 .io_delay = native_io_delay, 448 .io_delay = native_io_delay,
447 .const_udelay = __const_udelay, 449 .const_udelay = __const_udelay,
448 450
451#ifdef CONFIG_X86_LOCAL_APIC
452 .apic_write = native_apic_write,
453 .apic_write_atomic = native_apic_write_atomic,
454 .apic_read = native_apic_read,
455#endif
456
449 .irq_enable_sysexit = native_irq_enable_sysexit, 457 .irq_enable_sysexit = native_irq_enable_sysexit,
450 .iret = native_iret, 458 .iret = native_iret,
451}; 459};