diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-28 12:08:44 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:39 -0500 |
commit | 12e1b1e7909484cfa538159adf87227ad23d8d94 (patch) | |
tree | 2b5359e90b78d6e588a23ba641a2b4b90b239450 /include | |
parent | de1c1419f9eb8f9d719aaaa3e3f3073069ecd657 (diff) |
CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.h
CRIS v32 is not SMP.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-cris/arch-v32/system.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-cris/arch-v32/system.h b/include/asm-cris/arch-v32/system.h index d20e2d6d64a3..6ca90f1f110a 100644 --- a/include/asm-cris/arch-v32/system.h +++ b/include/asm-cris/arch-v32/system.h | |||
@@ -66,13 +66,4 @@ struct __xchg_dummy { unsigned long a[100]; }; | |||
66 | #define local_irq_save(x) \ | 66 | #define local_irq_save(x) \ |
67 | __asm__ __volatile__ ("move $ccs, %0\n\tdi" : "=rm" (x) : : "memory"); | 67 | __asm__ __volatile__ ("move $ccs, %0\n\tdi" : "=rm" (x) : : "memory"); |
68 | 68 | ||
69 | #ifdef CONFIG_SMP | ||
70 | typedef struct { | ||
71 | volatile unsigned int lock __attribute__ ((aligned(4))); | ||
72 | #ifdef CONFIG_PREEMPT | ||
73 | unsigned int break_lock; | ||
74 | #endif | ||
75 | } spinlock_t; | ||
76 | #endif | ||
77 | |||
78 | #endif /* _ASM_CRIS_ARCH_SYSTEM_H */ | 69 | #endif /* _ASM_CRIS_ARCH_SYSTEM_H */ |