patch-2.1.96 linux/include/asm-arm/arch-arc/system.h
Next file: linux/include/asm-arm/arch-arc/timex.h
Previous file: linux/include/asm-arm/arch-arc/serial.h
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Mon Apr 13 17:03:04 1998
-  Orig file: 
v2.1.95/linux/include/asm-arm/arch-arc/system.h
-  Orig date: 
Tue Jan 20 16:39:42 1998
diff -u --recursive --new-file v2.1.95/linux/include/asm-arm/arch-arc/system.h linux/include/asm-arm/arch-arc/system.h
@@ -6,6 +6,10 @@
 #ifndef __ASM_ARCH_SYSTEM_H
 #define __ASM_ARCH_SYSTEM_H
 
+#include <linux/config.h>
+
+#ifdef CONFIG_ARCH_ARC
+
 #define cliIF()				\
 	do {				\
 	  unsigned long temp;		\
@@ -16,6 +20,8 @@
 	  : "=r" (temp)	\
     : );	\
   } while(0)
+
+#endif
 
 extern __inline__ void arch_hard_reset (void)
 {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov