[patch 3/4] x86: spinlock.h merge prep

2007-11-01 Thread Nick Piggin
Prepare for merging 32 and 64 bit spinlocks, by making them identical (except for the OOSTORE thing). raw_read_lock and raw_write_lock get a relaxed register constraint, and 64-bit has a few "=m" constraints changed to "+m". I hope these things actually make the code better. Signed-off-by: Nick

[patch 3/4] x86: spinlock.h merge prep

2007-11-01 Thread Nick Piggin
Prepare for merging 32 and 64 bit spinlocks, by making them identical (except for the OOSTORE thing). raw_read_lock and raw_write_lock get a relaxed register constraint, and 64-bit has a few =m constraints changed to +m. I hope these things actually make the code better. Signed-off-by: Nick