X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sh%2Fspinlock_types.h;h=5c58134f2c4e35a31a402f69c3368e2a9033c326;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=8c41b6c3aac87adc4fbd73d5320b95e7592c6b18;hpb=38a9a621aba953ddb8051547e98c10ec3c741312;p=linux-2.6 diff --git a/include/asm-sh/spinlock_types.h b/include/asm-sh/spinlock_types.h index 8c41b6c3aa..5c58134f2c 100644 --- a/include/asm-sh/spinlock_types.h +++ b/include/asm-sh/spinlock_types.h @@ -9,7 +9,9 @@ typedef struct { volatile unsigned long lock; } raw_spinlock_t; -#define __SPIN_LOCK_UNLOCKED { 0 } +#define __RAW_SPIN_LOCK_UNLOCKED { 1 } + +#include typedef struct { raw_spinlock_t lock;