remove remaining crash_notes variable from arch/powerpc/kernel/machine_kexec.c
PATCH 1/1 remove remaining crash_notes variable from arch/powerpc/kernel/machine_kexec.c
In reply to a message not in the archiveQuoted 6 lines · Linux Kernel Mailing List
tree
e1847f5547a7a426214e9ef0719eab908ee305d7
parent82409411571ad89d271dc46f7fa26149fad9efdf
author Vivek Goyal <[email protected]> Tue, 10 Jan 2006 12:51:41 -0800 committer Linus Torvalds <[email protected]> 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 <[email protected]>
arch/powerpc/kernel/machine_kexec.c | 6 ------ 1 files changed, 6 deletions(-)
arch/powerpc/kernel/machine_kexec.c +0 -6
@@ -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)
Signature · 2 lines
short story of a lazy sysadmin: alias appserv=wotan