Skip to contentSkip to conversation

fix sparc32 build errors

PATCH Applied Robert Reif 2 participants 2 messages Oct 12, 2008 – Oct 13, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix sparc32 build errors

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’

arch/sparc/kernel/sun4d_smp.c +1 -0
index ce3d45d..7a6a5e7 100644
@@ -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>
arch/sparc/kernel/sun4m_smp.c +1 -0
index 0c564ba..5fc386d 100644
@@ -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>
maintainer Applied
#1 lore raw

From: Robert Reif <[email protected]>
Date: Sat, 11 Oct 2008 23:59:06 -0400

Quoted 6 lines

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’

Applied to sparc-2.6, thanks Robert.
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¬¥ªÜ–)îÇø§¶›¡Ü¨}©�²Æ zÚ&j:+v‰¨şø¯ù®w¥şŠà2ŠŞ™¨è­Ú&¢)ß¡«a¶Úÿÿûàz¿äz¹Ş—ú+ƒùš�Šİ¢jÿŠwèşf