X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fcore_t2.h;fp=include%2Fasm-alpha%2Fcore_t2.h;h=5c1c40338c82a1180478af35aac2df995e98231a;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=457c34b6eb09337bc87421aeb0edfe0b35edd2e7;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/asm-alpha/core_t2.h b/include/asm-alpha/core_t2.h index 457c34b6e..5c1c40338 100644 --- a/include/asm-alpha/core_t2.h +++ b/include/asm-alpha/core_t2.h @@ -1,6 +1,7 @@ #ifndef __ALPHA_T2__H__ #define __ALPHA_T2__H__ +#include #include #include #include @@ -435,7 +436,7 @@ static inline void t2_outl(u32 b, unsigned long addr) set_hae(msb); \ } -static DEFINE_SPINLOCK(t2_hae_lock); +static spinlock_t t2_hae_lock = SPIN_LOCK_UNLOCKED; __EXTERN_INLINE u8 t2_readb(const volatile void __iomem *xaddr) {