Thread (17 messages) 17 messages, 3 authors, 2011-09-08

Re: [RFC PATCH 03/10] fadump: Register for firmware assisted dump.

From: Kumar Gala <hidden>
Date: 2011-09-08 23:00:10
Also in: lkml

quoted hunk ↗ jump to hunk
=20
diff --git a/arch/powerpc/kernel/setup_64.c =
b/arch/powerpc/kernel/setup_64.c
quoted hunk ↗ jump to hunk
index a88bf27..3031ea7 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -63,6 +63,7 @@
#include <asm/kexec.h>
#include <asm/mmu_context.h>
#include <asm/code-patching.h>
+#include <asm/fadump.h>
=20
#include "setup.h"
=20
@@ -371,6 +372,13 @@ void __init setup_system(void)
	rtas_initialize();
#endif /* CONFIG_PPC_RTAS */
=20
+#ifdef CONFIG_FA_DUMP
+	/*
+	 * Setup Firmware-assisted dump.
+	 */
+	setup_fadump();
Is there a reason this has to be done here?  Can it be an initcall or =
called from platform init code?
+#endif
+
- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help