diff options
author | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-26 13:34:02 +0000 |
---|---|---|
committer | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-26 13:34:02 +0000 |
commit | 0900d4a0e144d38ff9ebae4de4bbae6b867d252b (patch) | |
tree | 8d6adb385e918ff8c811f0684a29c52e8c1aabe0 /unmodified_drivers/linux-2.6/compat-include | |
parent | aacbdffaf8d19408facb5e8213bb7af8e22f3136 (diff) | |
download | xen-0900d4a0e144d38ff9ebae4de4bbae6b867d252b.tar.gz xen-0900d4a0e144d38ff9ebae4de4bbae6b867d252b.tar.bz2 xen-0900d4a0e144d38ff9ebae4de4bbae6b867d252b.zip |
Cleanups for unmodified (pv-on-hvm) driver building.
- some cleanup to mkbuildtree
- adjustment to the fake __supported_pte_mask definition (removing the
export for x86-64 in native Linux is being discussed, so this shouldn't be
i386 specific)
- remove odd/unused defines (mostly CONFIG_*) in overrides.mk
Signed-off-by: Jan Beulich <jbeulich@novell.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 | 10 |
1 files changed, 7 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 87db7bf3d0..7493ddf382 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 @@ -76,8 +76,12 @@ extern char *kasprintf(gfp_t gfp, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); #endif -#if defined(_I386_PAGE_H) && defined(CONFIG_X86_PAE) -#define __supported_pte_mask ~0ULL -#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 + * in the future, don't try to supply a 'valid' value here, so that any + * mappings created with it will fault when accessed. + */ +#define __supported_pte_mask ((maddr_t)0) #endif |