projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e09744
)
[ARM] 3272/1: fix kernel decompressor crash
author
Nicolas Pitre
<
[email protected]
>
Wed, 18 Jan 2006 22:38:51 +0000
(22:38 +0000)
committer
Russell King
<
[email protected]
>
Wed, 18 Jan 2006 22:38:51 +0000
(22:38 +0000)
Patch from Nicolas Pitre
Commit
f4619025a51747a3788fd1bb6bdc46e368a889a7
broke the kernel
decompressor (at least on PXA). Here's the fix.
Signed-off-by: Nicolas Pitre <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
arch/arm/boot/compressed/head.S
patch
|
blob
|
history
diff --git
a/arch/arm/boot/compressed/head.S
b/arch/arm/boot/compressed/head.S
index aaa47400eb9c19ce57a60731f81ca0b14addb1b3..db3389d8e0271d6cf0802db52754dae0074d8077 100644
(file)
--- a/
arch/arm/boot/compressed/head.S
+++ b/
arch/arm/boot/compressed/head.S
@@
-334,7
+334,7
@@
__setup_mmu: sub r3, r4, #16384 @ Page directory size
mov r1, #0x12
orr r1, r1, #3 << 10
add r2, r3, #16384
-1: cmp r1, r
8
@ if virt > start of RAM
+1: cmp r1, r
9
@ if virt > start of RAM
orrhs r1, r1, #0x0c @ set cacheable, bufferable
cmp r1, r10 @ if virt > end of RAM
bichs r1, r1, #0x0c @ clear cacheable, bufferable