diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-12 08:02:38 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-12 08:02:38 +0100 |
commit | e17fb5f345761dc9f0b5c8746e2a811317dba215 (patch) | |
tree | 575372242ec6f7699869b27d3cd66fce6a284f7a /unmodified_drivers/linux-2.6/compat-include | |
parent | f138b72d1ebecbbc5e8ca0eedde9a42d82d378eb (diff) | |
download | xen-e17fb5f345761dc9f0b5c8746e2a811317dba215.tar.gz xen-e17fb5f345761dc9f0b5c8746e2a811317dba215.tar.bz2 xen-e17fb5f345761dc9f0b5c8746e2a811317dba215.zip |
PV-on-HVM: Fix 64-bit build.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/compat-include')
-rw-r--r-- | unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 <linux/version.h> - #include <linux/spinlock.h> +#include <asm/maddr.h> #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 |