[patch 07/33] xen: paravirt: export __supported_pte_mask

Jeremy Fitzhardinge
2007-05-22T15:29:40Z

[-- Attachment #1: paravirt-export-supported_pte_mask.patch --]
[-- Type: text/plain, Size: 638 bytes --]

__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>
---
arch/i386/mm/init.c | 1 +
1 file changed, 1 insertion(+)

===================================================================
--- 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

--