]> err.no Git - linux-2.6/blobdiff - include/asm-alpha/core_t2.h
[PATCH] fdtable: Make fdarray and fdsets equal in size
[linux-2.6] / include / asm-alpha / core_t2.h
index 5c1c40338c82a1180478af35aac2df995e98231a..457c34b6eb09337bc87421aeb0edfe0b35edd2e7 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __ALPHA_T2__H__
 #define __ALPHA_T2__H__
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/spinlock.h>
 #include <asm/compiler.h>
@@ -436,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)
 {