Skip to content

Commit

Permalink
fix crash_save_cpu reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Hashcode committed Jan 11, 2013
1 parent 21aa0e3 commit d1d7f71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ EXPORT_SYMBOL(machine_shutdown);

void machine_crash_nonpanic_core(void *unused)
{
#if 0
struct pt_regs regs;

crash_setup_regs(&regs, NULL);
Expand All @@ -124,10 +125,12 @@ void machine_crash_nonpanic_core(void *unused)
atomic_dec(&waiting_for_crash_ipi);
while (1)
cpu_relax();
#endif
}

void machine_crash_shutdown(struct pt_regs *regs)
{
#if 0
unsigned long msecs;

local_irq_disable();
Expand All @@ -145,6 +148,7 @@ void machine_crash_shutdown(struct pt_regs *regs)
crash_save_cpu(regs, smp_processor_id());

printk(KERN_INFO "Loading crashdump kernel...\n");
#endif
}

/*
Expand Down

0 comments on commit d1d7f71

Please sign in to comment.