aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/compat-include
diff options
context:
space:
mode:
Diffstat (limited to 'unmodified_drivers/linux-2.6/compat-include')
-rw-r--r--unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h5
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