On Nov 1, 2008, at 7:33 AM, Nick Piggin wrote:
A previous change removed __SUBARCH_HAS_LWSYNC define, and replaced it
with __powerpc64__. smp_wmb() seems to be the last place not updated.
Uugh... no.. I missed the patch that removed __SUBARCH_HAS_LWSYNC, but
thats no good. We have LWSYNC on non-powerpc64 machines. Will go
figure out who forgets we have ppc32 machines :)
- k
Signed-off-by: Nick Piggin <[EMAIL PROTECTED]>
---
Index: linux-2.6/arch/powerpc/include/asm/system.h
===================================================================
--- linux-2.6.orig/arch/powerpc/include/asm/system.h 2008-11-01
20:31:51.000000000 +1100
+++ linux-2.6/arch/powerpc/include/asm/system.h 2008-11-01
20:32:33.000000000 +1100
@@ -44,7 +44,7 @@
#define AT_VECTOR_SIZE_ARCH 6 /* entries in ARCH_DLINFO */
#ifdef CONFIG_SMP
-#ifdef __SUBARCH_HAS_LWSYNC
+#if defined(__powerpc64__)
# define SMPWMB lwsync
#else
# define SMPWMB eieio
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev