]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.h
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 28 Jan 2008 17:08:44 +0000 (18:08 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:39 +0000 (11:06 +0100)
CRIS v32 is not SMP.

include/asm-cris/arch-v32/system.h

index d20e2d6d64a362c1d4709b850e87b88ca6a35b6e..6ca90f1f110acd15aa4ee68171e3047ef7ec6a16 100644 (file)
@@ -66,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 */