[tip:x86/apic] x86/xen/apic: Add missing #include <xen/xen.h>

From: tip-bot for Ingo Molnar
Date: Fri May 18 2012 - 06:45:12 EST


Commit-ID: 87e4baacaeba098e217b14e9d2f6af428fe3f657
Gitweb: http://git.kernel.org/tip/87e4baacaeba098e217b14e9d2f6af428fe3f657
Author: Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Fri, 18 May 2012 09:34:45 +0200
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
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 <lenb@xxxxxxxxxx>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Cc: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Link: http://lkml.kernel.org/n/tip-7ccybvue6mw6wje3uxzzcglj@xxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/xen/apic.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.c
index 1913bf2..ec57bd3 100644
--- a/arch/x86/xen/apic.c
+++ b/arch/x86/xen/apic.c
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/