diff options
author | Milton Miller <miltonm@bga.com> | 2008-10-22 16:39:04 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-10-31 01:11:47 -0400 |
commit | 62a8bd6c9246c0e1f19dfb8fc65ad7c4f7cac8bb (patch) | |
tree | d831ee74e7246f98742c202162a96471fb116365 /arch/powerpc/include | |
parent | 1767c8f392857694899403a65942cc70b5b7d132 (diff) |
powerpc: Use is_kdump_kernel()
linux/crash_dump.h defines is_kdump_kernel() to be used by code that
needs to know if the previous kernel crashed instead of a (clean) boot
or reboot.
This updates the just added powerpc code to use it. This is needed
for the next commit, which will remove __kdump_flag.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kdump.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/kdump.h b/arch/powerpc/include/asm/kdump.h index 821ed48c10ed..b07ebb9784d3 100644 --- a/arch/powerpc/include/asm/kdump.h +++ b/arch/powerpc/include/asm/kdump.h | |||
@@ -20,8 +20,6 @@ | |||
20 | 20 | ||
21 | #ifndef __ASSEMBLY__ | 21 | #ifndef __ASSEMBLY__ |
22 | 22 | ||
23 | extern unsigned long __kdump_flag; | ||
24 | |||
25 | #if defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_RELOCATABLE) | 23 | #if defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_RELOCATABLE) |
26 | extern void reserve_kdump_trampoline(void); | 24 | extern void reserve_kdump_trampoline(void); |
27 | extern void setup_kdump_trampoline(void); | 25 | extern void setup_kdump_trampoline(void); |