X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-sh%2Fspinlock_types.h;h=5c58134f2c4e35a31a402f69c3368e2a9033c326;hb=789c56b7f73218141b8004cb4f775eed8c514212;hp=8c41b6c3aac87adc4fbd73d5320b95e7592c6b18;hpb=35d91f75c2c9548e606e813413f03c5cc35da969;p=karo-tx-linux.git diff --git a/include/asm-sh/spinlock_types.h b/include/asm-sh/spinlock_types.h index 8c41b6c3aac8..5c58134f2c4e 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;