aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/pgtable.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-06-17 14:41:59 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-20 09:09:54 -0400
commitd494a96125c99f1e37b1f831b29b42c9b712ee05 (patch)
tree2a43489c1e3ba0fce51326e7548512252a052eef /arch/x86/mm/pgtable.c
parent7c7e6e07e2a7c0d2d96389f4f0540e44a80ecdaa (diff)
x86: implement set_pte_vaddr
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/pgtable.c')
-rw-r--r--arch/x86/mm/pgtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c
index 3ebebe480b53..7498124e30fc 100644
--- a/arch/x86/mm/pgtable.c
+++ b/arch/x86/mm/pgtable.c
@@ -285,6 +285,6 @@ void __set_fixmap (enum fixed_addresses idx, unsigned long phys, pgprot_t flags)
285 BUG(); 285 BUG();
286 return; 286 return;
287 } 287 }
288 set_pte_pfn(address, phys >> PAGE_SHIFT, flags); 288 set_pte_vaddr(address, pfn_pte(phys >> PAGE_SHIFT, flags));
289 fixmaps_set++; 289 fixmaps_set++;
290} 290}