summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@xensource.com>2007-07-18 05:37:04 +0400
committerJeremy Fitzhardinge <jeremy@goop.org>2007-07-18 19:47:41 +0400
commitbdef40a6af64a0140a65df49bf504124d57094a9 (patch)
tree1461782d9bd57d3859f7adb3b5fea39a8612e803 /arch
parentc70df74376c1e29a04e07e23dd3f4c384d6166dd (diff)
downloadlinux-bdef40a6af64a0140a65df49bf504124d57094a9.tar.xz
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')
-rw-r--r--arch/i386/mm/init.c1
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)
static int disable_nx __initdata = 0;
u64 __supported_pte_mask __read_mostly = ~_PAGE_NX;
+EXPORT_SYMBOL_GPL(__supported_pte_mask);
/*
* noexec = on|off