uses of cmpxchg/xadd in spinlock.h and rwsem.h vs. CONFIG_M386

From: Jan Beulich
Date: Tue May 12 2009 - 11:19:19 EST


While looking at a completely different issue I happened to grep for uses of
xadd, and it would appear to me that there got uses added that would make
a M386-configured SMP kernel die on an actual i386.

Oh, for the rwsem case I see - it would use the RWSEM_GENERIC_SPINLOCK case
when selecting M386. But I see nothing similar for the ticket spinlocks - am
I overlooking something?

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/