x86/xen/apic: Add missing #include <xen/xen.h>
Subsystems (2)
Commit-ID: 87e4baacaeba098e217b14e9d2f6af428fe3f657 Gitweb: http://git.kernel.org/tip/87e4baacaeba098e217b14e9d2f6af428fe3f657 Author: Ingo Molnar <[email protected]> AuthorDate: Fri, 18 May 2012 09:34:45 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Fri, 18 May 2012 09:34:45 +0200
x86/xen/apic: Add missing #include <xen/xen.h>
This file depends on <xen/xen.h>, but the dependency was hidden due
to: <asm/acpi.h> -> <asm/trampoline.h> -> <asm/io.h> -> <xen/xen.h>
With the removal of <asm/trampoline.h>, this exposed the missing
Cc Len Brown <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Jeremy Fitzhardinge <[email protected]>
Cc Jarkko Sakkinen <[email protected]>
Cc H. Peter Anvin <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/xen/apic.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
arch/x86/xen/apic.c +4 -1
@@ -1,9 +1,12 @@#include <linux/init.h> +#include <asm/x86_init.h> #include <asm/apic.h> -#include <xen/interface/physdev.h> #include <asm/xen/hypercall.h> +#include <xen/xen.h> +#include <xen/interface/physdev.h> +unsigned int xen_io_apic_read (unsigned apic,unsigned reg) {struct physdev_apic apic_op;