diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2007-07-17 21:37:04 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-07-18 11:47:41 -0400 |
commit | bdef40a6af64a0140a65df49bf504124d57094a9 (patch) | |
tree | 1461782d9bd57d3859f7adb3b5fea39a8612e803 /arch/i386/mm/init.c | |
parent | c70df74376c1e29a04e07e23dd3f4c384d6166dd (diff) |
paravirt: export __supported_pte_mask
__supported_pte_mask is needed when constructing pte values. Xen
device drivers need to do this to make mappings of foreign pages (ie,
pages granted to us by other domains).
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Diffstat (limited to 'arch/i386/mm/init.c')
-rw-r--r-- | arch/i386/mm/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index f9b6a8878547..6a68b1ae061c 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c | |||
@@ -473,6 +473,7 @@ void zap_low_mappings (void) | |||
473 | 473 | ||
474 | static int disable_nx __initdata = 0; | 474 | static int disable_nx __initdata = 0; |
475 | u64 __supported_pte_mask __read_mostly = ~_PAGE_NX; | 475 | u64 __supported_pte_mask __read_mostly = ~_PAGE_NX; |
476 | EXPORT_SYMBOL_GPL(__supported_pte_mask); | ||
476 | 477 | ||
477 | /* | 478 | /* |
478 | * noexec = on|off | 479 | * noexec = on|off |