From: Jeremy Fitzhardinge Date: Wed, 18 Jul 2007 01:37:04 +0000 (-0700) Subject: paravirt: export __supported_pte_mask X-Git-Tag: v2.6.23-rc1~498^2~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bdef40a6af64a0140a65df49bf504124d57094a9;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index f9b6a887854..6a68b1ae061 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