projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70df74
)
paravirt: export __supported_pte_mask
author
Jeremy Fitzhardinge
<jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:04 +0000
(18:37 -0700)
committer
Jeremy Fitzhardinge
<jeremy@goop.org>
Wed, 18 Jul 2007 15:47:41 +0000
(08:47 -0700)
__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
patch
|
blob
|
history
diff --git
a/arch/i386/mm/init.c
b/arch/i386/mm/init.c
index
f9b6a88
..
6a68b1a
100644
(file)
--- 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