projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beacfaa
)
x86: early_ioremap_reset fix
author
Huang, Ying
<ying.huang@intel.com>
Wed, 30 Jan 2008 12:33:44 +0000
(13:33 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:44 +0000
(13:33 +0100)
This patch fixes a bug of early_ioremap_reset.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/ioremap_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/mm/ioremap_32.c
b/arch/x86/mm/ioremap_32.c
index 43b5e9fd6370f98bb08998b59bb160aed7ca595e..bfd7b8b2fe604e744fd49a958e81ae6fbf07507e 100644
(file)
--- a/
arch/x86/mm/ioremap_32.c
+++ b/
arch/x86/mm/ioremap_32.c
@@
-247,7
+247,7
@@
void __init early_ioremap_reset(void)
unsigned long *pte, phys, addr;
after_paging_init = 1;
- for (idx = FIX_BTMAP_BEGIN; idx
<
= FIX_BTMAP_END; idx--) {
+ for (idx = FIX_BTMAP_BEGIN; idx
>
= FIX_BTMAP_END; idx--) {
addr = fix_to_virt(idx);
pte = early_ioremap_pte(addr);
if (!*pte & _PAGE_PRESENT) {