diff options
Diffstat (limited to 'include/asm-parisc/system.h')
| -rw-r--r-- | include/asm-parisc/system.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/include/asm-parisc/system.h b/include/asm-parisc/system.h index 81c543339036..26ff844a21c1 100644 --- a/include/asm-parisc/system.h +++ b/include/asm-parisc/system.h | |||
| @@ -160,29 +160,7 @@ static inline void set_eiem(unsigned long val) | |||
| 160 | }) | 160 | }) |
| 161 | 161 | ||
| 162 | #ifdef CONFIG_SMP | 162 | #ifdef CONFIG_SMP |
| 163 | /* | 163 | # define __lock_aligned __attribute__((__section__(".data.lock_aligned"))) |
| 164 | * Your basic SMP spinlocks, allowing only a single CPU anywhere | ||
| 165 | */ | ||
| 166 | |||
| 167 | typedef struct { | ||
| 168 | volatile unsigned int lock[4]; | ||
| 169 | #ifdef CONFIG_DEBUG_SPINLOCK | ||
| 170 | unsigned long magic; | ||
| 171 | volatile unsigned int babble; | ||
| 172 | const char *module; | ||
| 173 | char *bfile; | ||
| 174 | int bline; | ||
| 175 | int oncpu; | ||
| 176 | void *previous; | ||
| 177 | struct task_struct * task; | ||
| 178 | #endif | ||
| 179 | #ifdef CONFIG_PREEMPT | ||
| 180 | unsigned int break_lock; | ||
| 181 | #endif | ||
| 182 | } spinlock_t; | ||
| 183 | |||
| 184 | #define __lock_aligned __attribute__((__section__(".data.lock_aligned"))) | ||
| 185 | |||
| 186 | #endif | 164 | #endif |
| 187 | 165 | ||
| 188 | #define KERNEL_START (0x10100000 - 0x1000) | 166 | #define KERNEL_START (0x10100000 - 0x1000) |
