You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
176 B
15 lines
176 B
19 years ago
|
#include <linux/config.h>
|
||
|
|
||
|
#ifdef CONFIG_SMP
|
||
|
.macro LOCK_PREFIX
|
||
|
1: lock
|
||
|
.section .smp_locks,"a"
|
||
|
.align 4
|
||
|
.long 1b
|
||
|
.previous
|
||
|
.endm
|
||
|
#else
|
||
|
.macro LOCK_PREFIX
|
||
|
.endm
|
||
|
#endif
|