aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/crash.c
diff options
context:
space:
mode:
authorHaren Myneni <haren@us.ibm.com>2006-01-10 22:25:25 -0500
committerPaul Mackerras <paulus@samba.org>2006-01-10 23:33:55 -0500
commitf6cc82fc0b2b6be9ab25f0bfc285e6358db3597a (patch)
tree2623b1345929ec026a44c597cc7aabecf4e92880 /arch/powerpc/kernel/crash.c
parent6bac953fa424519f784ba2589fefd8f040ce54f0 (diff)
[PATCH] powerpc: fix for compile problem in kdump code when SMP disabled
This patch fixes the compilation error (shown below) when CONFIG_SMP=n. arch/powerpc/kernel/crash.c: In function `crash_kexec_prepare_cpus': arch/powerpc/kernel/crash.c:236: error: implicit declaration of function `smp_release_cpus' Signed-off-by: Haren Myneni <haren@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/crash.c')
-rw-r--r--arch/powerpc/kernel/crash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c
index 4681155121ef..5f248e3fdf82 100644
--- a/arch/powerpc/kernel/crash.c
+++ b/arch/powerpc/kernel/crash.c
@@ -18,7 +18,6 @@
18#include <linux/kexec.h> 18#include <linux/kexec.h>
19#include <linux/bootmem.h> 19#include <linux/bootmem.h>
20#include <linux/crash_dump.h> 20#include <linux/crash_dump.h>
21#include <linux/irq.h>
22#include <linux/delay.h> 21#include <linux/delay.h>
23#include <linux/elf.h> 22#include <linux/elf.h>
24#include <linux/elfcore.h> 23#include <linux/elfcore.h>
@@ -30,6 +29,7 @@
30#include <asm/kdump.h> 29#include <asm/kdump.h>
31#include <asm/lmb.h> 30#include <asm/lmb.h>
32#include <asm/firmware.h> 31#include <asm/firmware.h>
32#include <asm/smp.h>
33 33
34#ifdef DEBUG 34#ifdef DEBUG
35#include <asm/udbg.h> 35#include <asm/udbg.h>