Commit bdef40a6 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Jeremy Fitzhardinge

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: default avatarJeremy Fitzhardinge <jeremy@xensource.com>
parent c70df743
...@@ -473,6 +473,7 @@ void zap_low_mappings (void) ...@@ -473,6 +473,7 @@ void zap_low_mappings (void)
static int disable_nx __initdata = 0; static int disable_nx __initdata = 0;
u64 __supported_pte_mask __read_mostly = ~_PAGE_NX; u64 __supported_pte_mask __read_mostly = ~_PAGE_NX;
EXPORT_SYMBOL_GPL(__supported_pte_mask);
/* /*
* noexec = on|off * noexec = on|off
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment