From: Olaf Hering Date: Tue, 10 Jan 2006 21:31:53 +0000 (+0100) Subject: [PATCH] powerpc: remove remaining crash_notes variable from machine_kexec.c X-Git-Tag: v3.12-rc1~39559^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f481f1edee77b3d623457685add1c6b507c25d6f;p=kernel%2Fkernel-generic.git [PATCH] powerpc: remove remaining crash_notes variable from machine_kexec.c remove remaining crash_notes definition to fix compile error /dev/shm/linux-2.6/arch/powerpc/kernel/machine_kexec.c:21: error: conflicting types for `crash_notes' /dev/shm/linux-2.6/include/linux/kexec.h:129: error: previous declaration of `crash_notes' Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c index a91e40c..a81ca1b 100644 --- a/arch/powerpc/kernel/machine_kexec.c +++ b/arch/powerpc/kernel/machine_kexec.c @@ -14,12 +14,6 @@ #include #include -/* - * Provide a dummy crash_notes definition until crash dump is implemented. - * This prevents breakage of crash_notes attribute in kernel/ksysfs.c. - */ -note_buf_t crash_notes[NR_CPUS]; - void machine_crash_shutdown(struct pt_regs *regs) { if (ppc_md.machine_crash_shutdown)