X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fcore_t2.h;h=457c34b6eb09337bc87421aeb0edfe0b35edd2e7;hb=0612ec48762bf8712db1925b2e67246d2237ebab;hp=dba70c62a16c0d3a56df6ffebd917983d0367f3b;hpb=5047f09b56d0bc3c21aec9cb16de60283da645c6;p=~andy%2Flinux diff --git a/include/asm-alpha/core_t2.h b/include/asm-alpha/core_t2.h index dba70c62a16..457c34b6eb0 100644 --- a/include/asm-alpha/core_t2.h +++ b/include/asm-alpha/core_t2.h @@ -435,7 +435,7 @@ static inline void t2_outl(u32 b, unsigned long addr) set_hae(msb); \ } -static spinlock_t t2_hae_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(t2_hae_lock); __EXTERN_INLINE u8 t2_readb(const volatile void __iomem *xaddr) {