patch-2.3.99-pre6 linux/include/linux/wanpipe.h

Next file: linux/include/linux/x25.h
Previous file: linux/include/linux/videodev.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/include/linux/wanpipe.h linux/include/linux/wanpipe.h
@@ -35,7 +35,9 @@
 #ifndef	_WANPIPE_H
 #define	_WANPIPE_H
 
-#ifdef __SMP__
+#include <linux/config.h>
+
+#ifdef CONFIG_SMP
 #include <asm/spinlock.h>       /* Support for SMP Locking */
 #endif
 
@@ -251,7 +253,7 @@
 	unsigned short force_enable_irq;
 	char TracingEnabled;		/* flag for enabling trace */
 	global_stats_t statistics;	/* global statistics */
-#ifdef __SMP__
+#ifdef CONFIG_SMP
 	spinlock_t lock;                /* Support for SMP Locking */
 #endif
 	void* mbox;			/* -> mailbox */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)