[PATCH] remove remaining crash_notes variable from arch/powerpc/kernel/machine_kexec.c

From: Olaf Hering
Date: Tue Jan 10 2006 - 16:30:36 EST


On Tue, Jan 10, Linux Kernel Mailing List wrote:

> tree e1847f5547a7a426214e9ef0719eab908ee305d7
> parent 82409411571ad89d271dc46f7fa26149fad9efdf
> author Vivek Goyal <vgoyal@xxxxxxxxxx> Tue, 10 Jan 2006 12:51:41 -0800
> committer Linus Torvalds <torvalds@xxxxxxxxxxx> Wed, 11 Jan 2006 00:01:26 -0800
>
> [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers


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 <olh@xxxxxxx>

arch/powerpc/kernel/machine_kexec.c | 6 ------
1 files changed, 6 deletions(-)

Index: linux-2.6/arch/powerpc/kernel/machine_kexec.c
===================================================================
--- linux-2.6.orig/arch/powerpc/kernel/machine_kexec.c
+++ linux-2.6/arch/powerpc/kernel/machine_kexec.c
@@ -14,12 +14,6 @@
#include <linux/threads.h>
#include <asm/machdep.h>

-/*
- * 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)

--
short story of a lazy sysadmin:
alias appserv=wotan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/