diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-08 03:48:41 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-04-09 18:44:58 -0400 |
commit | e7c064889606aab3569669078c69b87b2c527e72 (patch) | |
tree | fb280d88092e3545ad5b942961f569b5fdbef622 /arch/x86/xen/mmu.c | |
parent | 169aafbc8d3f05431b5cfeb60294a12b8ef2bcee (diff) |
xen: add FIX_TEXT_POKE to fixmap
FIX_TEXT_POKE[01] are used to map kernel addresses, so they're mapping
pfns, not mfns.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r-- | arch/x86/xen/mmu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 77b242c9a11e..a96f5b9393ea 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -1812,6 +1812,9 @@ static void xen_set_fixmap(unsigned idx, unsigned long phys, pgprot_t prot) | |||
1812 | #ifdef CONFIG_X86_LOCAL_APIC | 1812 | #ifdef CONFIG_X86_LOCAL_APIC |
1813 | case FIX_APIC_BASE: /* maps dummy local APIC */ | 1813 | case FIX_APIC_BASE: /* maps dummy local APIC */ |
1814 | #endif | 1814 | #endif |
1815 | case FIX_TEXT_POKE0: | ||
1816 | case FIX_TEXT_POKE1: | ||
1817 | /* All local page mappings */ | ||
1815 | pte = pfn_pte(phys, prot); | 1818 | pte = pfn_pte(phys, prot); |
1816 | break; | 1819 | break; |
1817 | 1820 | ||