Thread (20 messages) 20 messages, 3 authors, 2015-04-10

[PATCH 3/5] arm64: kdump: do not go into EL2 before starting a crash dump kernel

From: geoff@infradead.org (Geoff Levand)
Date: 2015-03-27 04:43:38
Also in: kexec, lkml

On Thu, 2015-03-26 at 17:28 +0900, AKASHI Takahiro wrote:
quoted hunk ↗ jump to hunk
@@ -64,7 +65,11 @@ void soft_restart(unsigned long addr)
 	setup_mm_for_reboot();
 
 	cpu_soft_restart(virt_to_phys(cpu_reset),
-		is_hyp_mode_available(), addr);
+#ifdef CONFIG_KEXEC
+		!in_crash_kexec &&
+#endif
Why not define in_crash_kexec without condition on CONFIG_KEXEC, say
here in process.c and then avoid these preprocessor conditionals.
+		is_hyp_mode_available(),
+		addr);
 
 	/* Should never get here */
 	BUG();
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help