diff options
author | Keir Fraser <keir@xensource.com> | 2007-04-06 11:17:08 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-04-06 11:17:08 +0100 |
commit | e4daaaabe1ec5c47105ab7b9e46086becec147b0 (patch) | |
tree | 1ad7d551011528f661167f09b0b922c4ed5ca3f6 /unmodified_drivers/linux-2.6/compat-include | |
parent | a15ec0cdeb00375ec97040a0dfa727e416c37d17 (diff) | |
download | xen-e4daaaabe1ec5c47105ab7b9e46086becec147b0.tar.gz xen-e4daaaabe1ec5c47105ab7b9e46086becec147b0.tar.bz2 xen-e4daaaabe1ec5c47105ab7b9e46086becec147b0.zip |
PV-on-HVM: A bit more re-jigging so the build gets further against
native Linux 2.6.5. It's not quite there still, but closer.
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 | 4 |
1 files changed, 4 insertions, 0 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 f6a9371034..1f604a0e1a 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 @@ -96,6 +96,10 @@ extern char *kasprintf(gfp_t gfp, const char *fmt, ...) #define handle_sysrq(x,y,z) handle_sysrq(x,y) #endif +#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 |