]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-cris/arch-v32/system.h
Fix nfsd truncation of readdir results
[linux-2.6-omap-h63xx.git] / include / asm-cris / arch-v32 / system.h
index a3d75d581e2f5d20942eeee48df4dde3a3737409..6ca90f1f110acd15aa4ee68171e3047ef7ec6a16 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _ASM_CRIS_ARCH_SYSTEM_H
 #define _ASM_CRIS_ARCH_SYSTEM_H
 
-#include <linux/config.h>
 
 /* Read the CPU version register. */
 static inline unsigned long rdvr(void)
@@ -67,13 +66,4 @@ struct __xchg_dummy { unsigned long a[100]; };
 #define local_irq_save(x) \
        __asm__ __volatile__ ("move $ccs, %0\n\tdi" : "=rm" (x) : : "memory");
 
-#ifdef CONFIG_SMP
-typedef struct {
-       volatile unsigned int lock __attribute__ ((aligned(4)));
-#ifdef CONFIG_PREEMPT
-       unsigned int break_lock;
-#endif
-} spinlock_t;
-#endif
-
 #endif /* _ASM_CRIS_ARCH_SYSTEM_H */