Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4686
b: refs/heads/master
c: bc75a24
h: refs/heads/master
v: v3
  • Loading branch information
Albert Herranz authored and Linus Torvalds committed Jul 12, 2005
1 parent 03f83dc commit 0f25115
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41e2e8bec2da8d680a03aa4bee9a09fac499c05f
refs/heads/master: bc75a24582f60a70e2b95fda94ff66f577b7a0db
6 changes: 6 additions & 0 deletions trunk/arch/ppc/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ typedef NORET_TYPE void (*relocate_new_kernel_t)(
const extern unsigned char relocate_new_kernel[];
const extern unsigned int relocate_new_kernel_size;

/*
* Provide a dummy crash_notes definition while crash dump arrives to ppc.
* This prevents breakage of crash_notes attribute in kernel/ksysfs.c.
*/
void *crash_notes = NULL;

void machine_shutdown(void)
{
if (ppc_md.machine_shutdown)
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-ppc/kexec.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#ifndef __ASSEMBLY__

extern void *crash_notes;

struct kimage;

extern void machine_kexec_simple(struct kimage *image);
Expand Down

0 comments on commit 0f25115

Please sign in to comment.