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:
ea01c6b
)
powerpc: Add vmcoreinfo symbols to allow makdumpfile to filter core files properly
author
Neil Horman
<
[email protected]
>
Tue, 13 Jul 2010 03:46:09 +0000
(
03:46
+0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Sat, 31 Jul 2010 04:56:31 +0000
(14:56 +1000)
Signed-off-by: Neil Horman <
[email protected]
>
machine_kexec.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
Reviewed-by: WANG Cong <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/kernel/machine_kexec.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/machine_kexec.c
b/arch/powerpc/kernel/machine_kexec.c
index 6ff15f03dcc402eee7bc9c88518cc6ee83d64846..47905c0928619e65139cd946822d8cb6ded802d7 100644
(file)
--- a/
arch/powerpc/kernel/machine_kexec.c
+++ b/
arch/powerpc/kernel/machine_kexec.c
@@
-45,6
+45,18
@@
void machine_kexec_cleanup(struct kimage *image)
ppc_md.machine_kexec_cleanup(image);
}
+void arch_crash_save_vmcoreinfo(void)
+{
+
+#ifdef CONFIG_NEED_MULTIPLE_NODES
+ VMCOREINFO_SYMBOL(node_data);
+ VMCOREINFO_LENGTH(node_data, MAX_NUMNODES);
+#endif
+#ifndef CONFIG_NEED_MULTIPLE_NODES
+ VMCOREINFO_SYMBOL(contig_page_data);
+#endif
+}
+
/*
* Do not allocate memory (or fail in any way) in machine_kexec().
* We are past the point of no return, committed to rebooting now.