projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de1c141
)
CRIS v32: Remove SMP stub from asm-cris/arch-v32/system.h
author
Jesper Nilsson
<jesper.nilsson@axis.com>
Mon, 28 Jan 2008 17:08:44 +0000
(18:08 +0100)
committer
Jesper 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
patch
|
blob
|
history
diff --git
a/include/asm-cris/arch-v32/system.h
b/include/asm-cris/arch-v32/system.h
index
d20e2d6
..
6ca90f1
100644
(file)
--- 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]; };
#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 */