From: Haren Myneni Date: Wed, 11 Jan 2006 03:25:25 +0000 (-0800) Subject: [PATCH] powerpc: fix for compile problem in kdump code when SMP disabled X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a;p=linux-beck.git [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 Signed-off-by: Paul Mackerras --- 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 @@ #include #include #include -#include #include #include #include @@ -30,6 +29,7 @@ #include #include #include +#include #ifdef DEBUG #include