Przeglądaj źródła

CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.h

CRIS v32 is not SMP.
Jesper Nilsson 17 lat temu
rodzic
commit
12e1b1e790
1 zmienionych plików z 0 dodań i 9 usunięć
  1. 0 9
      include/asm-cris/arch-v32/system.h

+ 0 - 9
include/asm-cris/arch-v32/system.h

@@ -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 */