diff options
author | Haren Myneni <haren@us.ibm.com> | 2006-01-10 19:25:25 -0800 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-11 15:33:55 +1100 |
commit | f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a (patch) | |
tree | 2623b1345929ec026a44c597cc7aabecf4e92880 /arch/powerpc/kernel | |
parent | 6bac953fa424519f784ba2589fefd8f040ce54f0 (diff) | |
download | op-kernel-dev-f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a.zip op-kernel-dev-f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a.tar.gz |
[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')
-rw-r--r-- | arch/powerpc/kernel/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index 4681155..5f248e3 100644 --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c @@ -18,7 +18,6 @@ #include <linux/kexec.h> #include <linux/bootmem.h> #include <linux/crash_dump.h> -#include <linux/irq.h> #include <linux/delay.h> #include <linux/elf.h> #include <linux/elfcore.h> @@ -30,6 +29,7 @@ #include <asm/kdump.h> #include <asm/lmb.h> #include <asm/firmware.h> +#include <asm/smp.h> #ifdef DEBUG #include <asm/udbg.h> |