aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-11-29 19:23:10 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-07 22:02:22 -0500
commit9b00ac06978c54788f13eefd34a07b77db48d567 (patch)
tree4727d71f5d4071b5595d4268c0fe05c8bf2ae02a /arch/powerpc/include
parent58154c8ce71a7854d969d73468fd00e5eeeab708 (diff)
powerpc: Remove broken and complicated kdump system reset code
We have a lot of complicated logic that handles possible recursion between kdump and a system reset exception. We can solve this in a much simpler way using the same setjmp/longjmp tricks xmon does. As a first step, this patch removes the old system reset code. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/kexec.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/kexec.h b/arch/powerpc/include/asm/kexec.h
index f921eb121d39..209ed8ba1637 100644
--- a/arch/powerpc/include/asm/kexec.h
+++ b/arch/powerpc/include/asm/kexec.h
@@ -73,11 +73,6 @@ extern void kexec_smp_wait(void); /* get and clear naca physid, wait for
73 master to copy new code to 0 */ 73 master to copy new code to 0 */
74extern int crashing_cpu; 74extern int crashing_cpu;
75extern void crash_send_ipi(void (*crash_ipi_callback)(struct pt_regs *)); 75extern void crash_send_ipi(void (*crash_ipi_callback)(struct pt_regs *));
76extern cpumask_t cpus_in_sr;
77static inline int kexec_sr_activated(int cpu)
78{
79 return cpumask_test_cpu(cpu, &cpus_in_sr);
80}
81 76
82struct kimage; 77struct kimage;
83struct pt_regs; 78struct pt_regs;
@@ -94,7 +89,6 @@ extern void reserve_crashkernel(void);
94extern void machine_kexec_mask_interrupts(void); 89extern void machine_kexec_mask_interrupts(void);
95 90
96#else /* !CONFIG_KEXEC */ 91#else /* !CONFIG_KEXEC */
97static inline int kexec_sr_activated(int cpu) { return 0; }
98static inline void crash_kexec_secondary(struct pt_regs *regs) { } 92static inline void crash_kexec_secondary(struct pt_regs *regs) { }
99 93
100static inline int overlaps_crashkernel(unsigned long start, unsigned long size) 94static inline int overlaps_crashkernel(unsigned long start, unsigned long size)