diff options
author | Albert Herranz <albert_herranz@yahoo.es> | 2005-07-12 22:58:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-13 01:01:03 +0200 |
commit | bc75a24582f60a70e2b95fda94ff66f577b7a0db (patch) | |
tree | 2b3354c2fb7487a0b9bff53c919e5bd693195b6b /include | |
parent | [PATCH] Documentation/kernel-parameters.txt: fix a typo (diff) | |
download | linux-bc75a24582f60a70e2b95fda94ff66f577b7a0db.tar.xz linux-bc75a24582f60a70e2b95fda94ff66f577b7a0db.zip |
[PATCH] kexec-ppc: fix for ksysfs crash_notes
The following patch prevents the crash dump helper code found within kexec
from breaking ppc which still lacks crash dump functionality.
ksysfs crash_notes attribute handling was left under CONFIG_KEXEC for
simplicity although it is not strictly kexec related.
We provide here a dummy definition for crash_notes on ppc.
Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/kexec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/kexec.h b/include/asm-ppc/kexec.h index 73191310d8db..6d2aa0aa4642 100644 --- a/include/asm-ppc/kexec.h +++ b/include/asm-ppc/kexec.h @@ -27,6 +27,8 @@ #ifndef __ASSEMBLY__ +extern void *crash_notes; + struct kimage; extern void machine_kexec_simple(struct kimage *image); |