summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/xen-ops.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-03-20 23:53:10 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-05-01 20:50:33 +0200
commit31b3c9d723407b395564d1fff3624cc0083ae520 (patch)
tree91956c150661328c2f1ff344491000cf06d2f60e /arch/x86/xen/xen-ops.h
parentx86/apic: Replace io_apic_ops with x86_io_apic_ops. (diff)
downloadlinux-31b3c9d723407b395564d1fff3624cc0083ae520.tar.xz
linux-31b3c9d723407b395564d1fff3624cc0083ae520.zip
xen/x86: Implement x86_apic_ops
Or rather just implement one different function as opposed to the native one : the read function. We synthesize the values. Acked-by: Suresh Siddha <suresh.b.siddha@intel.com> [v1: Rebased on top of tip/x86/urgent] [v2: Return 0xfd instead of 0xff in the default case] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r--arch/x86/xen/xen-ops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h
index b095739ccd4c..45c0c0667bd9 100644
--- a/arch/x86/xen/xen-ops.h
+++ b/arch/x86/xen/xen-ops.h
@@ -92,11 +92,15 @@ struct dom0_vga_console_info;
#ifdef CONFIG_XEN_DOM0
void __init xen_init_vga(const struct dom0_vga_console_info *, size_t size);
+void __init xen_init_apic(void);
#else
static inline void __init xen_init_vga(const struct dom0_vga_console_info *info,
size_t size)
{
}
+static inline void __init xen_init_apic(void)
+{
+}
#endif
/* Declare an asm function, along with symbols needed to make it