* Re: [PATCH][2.6.15-rc3] powerpc: Fix kexec on PPC32
@ 2005-11-30 20:26 Albert Herranz
0 siblings, 0 replies; 2+ messages in thread
From: Albert Herranz @ 2005-11-30 20:26 UTC (permalink / raw)
To: mrmacman_g4, linux-kernel
Acked-by: <albert.herranz@yahoo.es>
Compiled and working on the GameCube Linux port
(embedded) for ARCH=ppc. It also compiled and worked
without this patch, though.
Cheers,
Albert
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH][2.6.15-rc3] powerpc: Fix kexec on PPC32
@ 2005-11-30 19:06 Kyle Moffett
0 siblings, 0 replies; 2+ messages in thread
From: Kyle Moffett @ 2005-11-30 19:06 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: LKML Kernel
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
The PPC merge broke CONFIG_KEXEC on PPC32 very slightly.
Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com>
--
NOTE: This is compile and boot tested, but I haven't had time to read
the kexec docs and start playing with kexec yet, so it may not work
correctly.
[-- Attachment #2: kexec.patch.txt --]
[-- Type: text/plain, Size: 1011 bytes --]
diff -ru linux-2.6.15-rc3/arch/ppc/kernel/machine_kexec.c linux-2.6.15-rc3-aphrodite1/arch/ppc/kernel/machine_kexec.c
--- linux-2.6.15-rc3/arch/ppc/kernel/machine_kexec.c 2005-11-29 12:57:27.000000000 -0500
+++ linux-2.6.15-rc3-aphrodite1/arch/ppc/kernel/machine_kexec.c 2005-11-29 14:45:48.000000000 -0500
@@ -34,11 +34,13 @@
*/
note_buf_t crash_notes[NR_CPUS];
+#ifndef CONFIG_PPC_MERGE
void machine_shutdown(void)
{
if (ppc_md.machine_shutdown)
ppc_md.machine_shutdown();
}
+#endif
void machine_crash_shutdown(struct pt_regs *regs)
{
diff -ru linux-2.6.15-rc3/include/asm-powerpc/machdep.h linux-2.6.15-rc3-aphrodite1/include/asm-powerpc/machdep.h
--- linux-2.6.15-rc3/include/asm-powerpc/machdep.h 2005-11-29 14:49:54.000000000 -0500
+++ linux-2.6.15-rc3-aphrodite1/include/asm-powerpc/machdep.h 2005-11-29 14:52:51.000000000 -0500
@@ -13,6 +13,7 @@
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
+#include <linux/kexec.h>
#include <asm/setup.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-30 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-30 20:26 [PATCH][2.6.15-rc3] powerpc: Fix kexec on PPC32 Albert Herranz
-- strict thread matches above, loose matches on Subject: below --
2005-11-30 19:06 Kyle Moffett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®