* [PATCH] fix sparc32 build errors
@ 2008-10-12 3:59 Robert Reif
2008-10-13 3:52 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2008-10-12 3:59 UTC (permalink / raw)
To: sparclinux
[-- Attachment #1: Type: text/plain, Size: 374 bytes --]
arch/sparc/kernel/sun4d_smp.c: In function ‘smp4d_callin’:
arch/sparc/kernel/sun4d_smp.c:101: error: implicit declaration of
function ‘notify_cpu_starting’
arch/sparc/kernel/sun4m_smp.c: In function ‘smp4m_callin’:
arch/sparc/kernel/sun4m_smp.c:74: error: implicit declaration of
function ‘notify_cpu_starting’
Signed-off-by: Robert Reif <reif@earthlink.net>
[-- Attachment #2: cpu.diff.txt --]
[-- Type: text/plain, Size: 706 bytes --]
diff --git a/arch/sparc/kernel/sun4d_smp.c b/arch/sparc/kernel/sun4d_smp.c
index ce3d45d..7a6a5e7 100644
--- a/arch/sparc/kernel/sun4d_smp.c
+++ b/arch/sparc/kernel/sun4d_smp.c
@@ -20,6 +20,7 @@
#include <linux/swap.h>
#include <linux/profile.h>
#include <linux/delay.h>
+#include <linux/cpu.h>
#include <asm/ptrace.h>
#include <asm/atomic.h>
diff --git a/arch/sparc/kernel/sun4m_smp.c b/arch/sparc/kernel/sun4m_smp.c
index 0c564ba..5fc386d 100644
--- a/arch/sparc/kernel/sun4m_smp.c
+++ b/arch/sparc/kernel/sun4m_smp.c
@@ -17,6 +17,7 @@
#include <linux/swap.h>
#include <linux/profile.h>
#include <linux/delay.h>
+#include <linux/cpu.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-13 3:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-12 3:59 [PATCH] fix sparc32 build errors Robert Reif
2008-10-13 3:52 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.