X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Fspinlock.h;h=31f45f2a768266389a1fb3b62de7815dfef770d8;hb=2c66a62d2d9e2315e6e748b96643f7f141c4d017;hp=9930f93b1f147ae67bdacea595fbee2a60f84717;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/include/asm-sh/spinlock.h b/include/asm-sh/spinlock.h index 9930f93b1..31f45f2a7 100644 --- a/include/asm-sh/spinlock.h +++ b/include/asm-sh/spinlock.h @@ -25,6 +25,7 @@ typedef struct { #define spin_is_locked(x) ((x)->lock != 0) #define spin_unlock_wait(x) do { barrier(); } while (spin_is_locked(x)) +#define _raw_spin_lock_flags(lock, flags) _raw_spin_lock(lock) /* * Simple spin lock operations. There are two variants, one clears IRQ's