Răsfoiți Sursa

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>
Jeremy Fitzhardinge 18 ani în urmă
părinte
comite
bdef40a6af
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      arch/i386/mm/init.c

+ 1 - 0
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