Skip to content

Commit

Permalink
paravirt: export __supported_pte_mask
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Jeremy Fitzhardinge authored and Jeremy Fitzhardinge committed Jul 18, 2007
1 parent c70df74 commit bdef40a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/i386/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdef40a

Please sign in to comment.