summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-07 17:14:00 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-05-07 17:14:00 +0900
commitaa424bbb8cf5f7f3c6a70065bcb28a6e6af7897d (patch)
tree7c611839027c2385b3c6d59c9008fc9d0d2801e9
parentd523e1ae6addd4f18a609da39f23719eaecfedf0 (diff)
downloadop-kernel-dev-aa424bbb8cf5f7f3c6a70065bcb28a6e6af7897d.zip
op-kernel-dev-aa424bbb8cf5f7f3c6a70065bcb28a6e6af7897d.tar.gz
sh: Ensure that X2 TLB settings are reflected in vmcore.
This rolls in the X2TLB config settings for vmcore. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/machine_kexec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/kernel/machine_kexec.c b/arch/sh/kernel/machine_kexec.c
index 7672141..0e90c7f 100644
--- a/arch/sh/kernel/machine_kexec.c
+++ b/arch/sh/kernel/machine_kexec.c
@@ -147,4 +147,7 @@ void arch_crash_save_vmcoreinfo(void)
VMCOREINFO_SYMBOL(node_data);
VMCOREINFO_LENGTH(node_data, MAX_NUMNODES);
#endif
+#ifdef CONFIG_X2TLB
+ VMCOREINFO_CONFIG(X2TLB);
+#endif
}
OpenPOWER on IntegriCloud