Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232056
b: refs/heads/master
c: ac4414e
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Jan 21, 2011
1 parent 5381a0d commit 566510e
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 158d5b5e3654938cca963eec82cd10af49cda17f
refs/heads/master: ac4414e4d3024a3c9ac5f54a734ac77dd7edfdb3
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/memblock.h>
#include <linux/of.h>
#include <linux/irq.h>
#include <linux/ftrace.h>

#include <asm/machdep.h>
#include <asm/prom.h>
Expand Down Expand Up @@ -82,8 +83,14 @@ void arch_crash_save_vmcoreinfo(void)
*/
void machine_kexec(struct kimage *image)
{
int save_ftrace_enabled;

save_ftrace_enabled = __ftrace_enabled_save();

default_machine_kexec(image);

__ftrace_enabled_restore(save_ftrace_enabled);

/* Fall back to normal restart if we're still alive. */
machine_restart(NULL);
for(;;);
Expand Down

0 comments on commit 566510e

Please sign in to comment.