Skip to contentSkip to conversation

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

PATCH New Olaf Hering 1 participant 1 message Jan 10, 2006 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 6 lines · Linux Kernel Mailing List

tree e1847f5547a7a426214e9ef0719eab908ee305d7
parent 82409411571ad89d271dc46f7fa26149fad9efdf
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'

 arch/powerpc/kernel/machine_kexec.c |    6 ------
 1 files changed, 6 deletions(-)
arch/powerpc/kernel/machine_kexec.c +0 -6
Index: 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)
Signature · 2 lines
short story of a lazy sysadmin:
 alias appserv=wotan