mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-04-12 12:13:51 +00:00
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>
This commit is contained in:
parent
c70df74376
commit
bdef40a6af
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user