patch-2.3.99-pre7 linux/include/asm-sparc/atops.h
Next file: linux/include/asm-sparc/bitops.h
Previous file: linux/include/asm-sparc/atomic.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/include/asm-sparc/atops.h
- Orig date:
Mon Jul 19 13:12:47 1999
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-sparc/atops.h linux/include/asm-sparc/atops.h
@@ -5,7 +5,9 @@
#ifndef _SPARC_ATOPS_H
#define _SPARC_ATOPS_H
-#ifdef __SMP__
+#include <linux/config.h>
+
+#ifdef CONFIG_SMP
extern __inline__ __volatile__ unsigned char ldstub(volatile unsigned char *lock)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)