On Thu, 2013-08-29 at 16:42 -0700, Linus Torvalds wrote: > For architecture people (ie Ben, if you want to try this on ppc64), > the thing that it needs from an architecture: > > - the raw_spinlock_t and the "unsigned long" needs to fit in a u64.
I assume you mean unsigned int ? :-) .../... > - the architecture needs to implement a simple > "arch_spin_value_unlocked()" macro, which takes a raw_spinlock_t value > and says whether it is unlocked or not. What's wrong with the existing arch_spin_is_locked() ? BTW. Do you have your test case at hand ? Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/