From: kfraser@localhost.localdomain Date: Fri, 3 Nov 2006 12:10:02 +0000 (+0000) Subject: [LINUX] Clean up header includes (gnttab.h from fixmap.h). X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=66d409985f17cfc50db62aee7eac2e51087c7d0d;p=xen.git [LINUX] Clean up header includes (gnttab.h from fixmap.h). 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 --- diff --git a/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c b/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c index 75a5a6d03e..adf016ba90 100644 --- a/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c +++ b/linux-2.6-xen-sparse/drivers/char/tpm/tpm_xen.c @@ -41,6 +41,7 @@ #include #include #include +#include #include #include "tpm.h" #include "tpm_vtpm.h" diff --git a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/fixmap.h b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/fixmap.h index a6f3e9ea79..992a7c13ed 100644 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/fixmap.h +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/fixmap.h @@ -27,7 +27,6 @@ extern unsigned long __FIXADDR_TOP; #include #include #include -#include #ifdef CONFIG_HIGHMEM #include #include diff --git a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/fixmap.h b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/fixmap.h index 64ae42e1aa..29beed9512 100644 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/fixmap.h +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/fixmap.h @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include