[LINUX] Clean up header includes (gnttab.h from fixmap.h).
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 3 Nov 2006 12:10:02 +0000 (12:10 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 3 Nov 2006 12:10:02 +0000 (12:10 +0000)
include/asm-{i386,x86_64}/mach-xen/asm/fixmap.h was needlessly
including include/xen/gnttab.h. Removing this made necessary explicit
inclusion of that header in tpm_xen.c, the build of which should not
have succeeded on non-x86 architectures before.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/fixmap.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/fixmap.h

index 75a5a6d03e951b187b1301352b02111bbdd5fec3..adf016ba90997f34817abb178f19d0ec7b278bab 100644 (file)
@@ -41,6 +41,7 @@
 #include <xen/evtchn.h>
 #include <xen/interface/grant_table.h>
 #include <xen/interface/io/tpmif.h>
+#include <xen/gnttab.h>
 #include <xen/xenbus.h>
 #include "tpm.h"
 #include "tpm_vtpm.h"
index a6f3e9ea79c7922869c360836c49ed303b634c31..992a7c13ed56bd7b7b0ab3405f57eb6e401335a8 100644 (file)
@@ -27,7 +27,6 @@ extern unsigned long __FIXADDR_TOP;
 #include <asm/acpi.h>
 #include <asm/apicdef.h>
 #include <asm/page.h>
-#include <xen/gnttab.h>
 #ifdef CONFIG_HIGHMEM
 #include <linux/threads.h>
 #include <asm/kmap_types.h>
index 64ae42e1aae8cb3dc99061a0783c5ddf77c92bea..29beed95129a35d5e811b82063435085e9555c75 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/config.h>
 #include <linux/kernel.h>
 #include <asm/apicdef.h>
-#include <xen/gnttab.h>
 #include <asm/page.h>
 #include <asm/vsyscall.h>
 #include <asm/vsyscall32.h>