projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551889a
)
x86: fix early_ioremap pagetable ops
author
Ian Campbell
<ijc@hellion.org.uk>
Sat, 9 Feb 2008 22:24:09 +0000
(23:24 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 9 Feb 2008 22:24:09 +0000
(23:24 +0100)
Some important parts of
f6df72e71eba621b2f5c49b3a763116fac748f6e
got
dropped along the way, reintroduce them.
Only affects paravirt guests.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/ioremap.c
b/arch/x86/mm/ioremap.c
index 1106b7f477bdb555a4be8aca6a2adbdf65b37ef0..a4897a85268a5274d76145783a240426e6d456b7 100644
(file)
--- a/
arch/x86/mm/ioremap.c
+++ b/
arch/x86/mm/ioremap.c
@@
-286,7
+286,7
@@
void __init early_ioremap_init(void)
pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN));
memset(bm_pte, 0, sizeof(bm_pte));
-
set_pmd(pmd, __pmd(__pa(bm_pte) | _PAGE_TABLE)
);
+
pmd_populate_kernel(&init_mm, pmd, bm_pte
);
/*
* The boot-ioremap range spans multiple pmds, for which
@@
-316,7
+316,7
@@
void __init early_ioremap_clear(void)
pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN));
pmd_clear(pmd);
- paravirt_release_pt(__pa(
pmd
) >> PAGE_SHIFT);
+ paravirt_release_pt(__pa(
bm_pte
) >> PAGE_SHIFT);
__flush_tlb_all();
}