mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] m32r/kernel/smpboot.c must #include <linux/cpu.h>
@ 2008-10-12  4:33 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-10-12  4:33 UTC (permalink / raw)
  To: Manfred Spraul, takata; +Cc: linux-m32r, Andrew Morton, linux-kernel

This patch fixes the following compile error caused by
commit e545a6140b698b2494daf0b32107bdcc5e90139
(kernel/cpu.c: create a CPU_STARTING cpu_chain notifier):

<--  snip  -->

...
  CC      arch/m32r/kernel/smpboot.o
arch/m32r/kernel/smpboot.c: In function 'smp_online':
arch/m32r/kernel/smpboot.c:501: error: implicit declaration of function 'notify_cpu_starting'
make[2]: *** [arch/m32r/kernel/smpboot.o] Error 1

<--  snip  -->


Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
index fc29948..938f65e 100644
--- a/arch/m32r/kernel/smpboot.c
+++ b/arch/m32r/kernel/smpboot.c
@@ -48,6 +48,7 @@
 #include <linux/irq.h>
 #include <linux/bootmem.h>
 #include <linux/delay.h>
+#include <linux/cpu.h>
 
 #include <asm/io.h>
 #include <asm/pgalloc.h>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-12  4:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-12  4:33 [2.6 patch] m32r/kernel/smpboot.c must #include <linux/cpu.h> Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®