OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c638362
)
ARM: 6119/1: kdump: skip indirection page when crashing
author
Mika Westerberg
<mika.westerberg@iki.fi>
Mon, 10 May 2010 08:24:53 +0000
(09:24 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 9 Jul 2010 14:00:52 +0000
(15:00 +0100)
When we are crashing there is no indirection page in place. Only
control page is present.
Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/relocate_kernel.S
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/relocate_kernel.S
b/arch/arm/kernel/relocate_kernel.S
index
61930eb
..
fd26f8d
100644
(file)
--- a/
arch/arm/kernel/relocate_kernel.S
+++ b/
arch/arm/kernel/relocate_kernel.S
@@
-10,6
+10,12
@@
relocate_new_kernel:
ldr r0,kexec_indirection_page
ldr r1,kexec_start_address
+ /*
+ * If there is no indirection page (we are doing crashdumps)
+ * skip any relocation.
+ */
+ cmp r0, #0
+ beq 2f
0: /* top, read another word for the indirection page */
ldr r3, [r0],#4