From e17fb5f345761dc9f0b5c8746e2a811317dba215 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Thu, 12 Apr 2007 08:02:38 +0100 Subject: PV-on-HVM: Fix 64-bit build. Signed-off-by: Keir Fraser --- unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'unmodified_drivers') diff --git a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h index 1f604a0e1a..2bc455ecd0 100644 --- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h +++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h @@ -2,8 +2,8 @@ #define COMPAT_INCLUDE_XEN_PLATFORM_COMPAT_H #include - #include +#include #if defined(__LINUX_COMPILER_H) && !defined(__always_inline) #define __always_inline inline @@ -98,8 +98,6 @@ extern char *kasprintf(gfp_t gfp, const char *fmt, ...) #if defined(_PAGE_PRESENT) && !defined(_PAGE_NX) #define _PAGE_NX 0 -#endif - /* * This variable at present is referenced by netfront, but only in code that * is dead when running in hvm guests. To detect potential active uses of it @@ -107,5 +105,6 @@ extern char *kasprintf(gfp_t gfp, const char *fmt, ...) * mappings created with it will fault when accessed. */ #define __supported_pte_mask ((maddr_t)0) +#endif #endif -- cgit v1.2.3