Commit f6cc82fc authored by Haren Myneni's avatar Haren Myneni Committed by Paul Mackerras

[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: default avatarHaren Myneni <haren@us.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 6bac953f
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <linux/kexec.h> #include <linux/kexec.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/crash_dump.h> #include <linux/crash_dump.h>
#include <linux/irq.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/elf.h> #include <linux/elf.h>
#include <linux/elfcore.h> #include <linux/elfcore.h>
...@@ -30,6 +29,7 @@ ...@@ -30,6 +29,7 @@
#include <asm/kdump.h> #include <asm/kdump.h>
#include <asm/lmb.h> #include <asm/lmb.h>
#include <asm/firmware.h> #include <asm/firmware.h>
#include <asm/smp.h>
#ifdef DEBUG #ifdef DEBUG
#include <asm/udbg.h> #include <asm/udbg.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment