From: "Krzysztof Helt" <krzysztof.h1@xxxxx> Date: Sat, 27 May 2006 23:09:17 +0200 > I tried to build the 2.6.17-rc5 for sparc with SMP enabled. The > kernel was not build due to a missing macro. Here is a patch > which fixes this (I copied the macro from a sparc64 header). I was going to apply this just to fix the build, but it's not correct. Because we embed a spinlock in the rwlock_t, we have to spin waiting for the lock bits to be clear before we can trust the sample of the rest of the lock. We used to have to do this when we embedded a spinlock into the atomic_t's on sparc32. - To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html