patch-2.4.22 linux-2.4.22/include/asm-arm/proc-armo/system.h

Next file: linux-2.4.22/include/asm-arm/proc-armo/uncompress.h
Previous file: linux-2.4.22/include/asm-arm/proc-armo/processor.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-arm/proc-armo/system.h linux-2.4.22/include/asm-arm/proc-armo/system.h
@@ -39,7 +39,7 @@
 /*
  * Save the current interrupt enable state & disable IRQs
  */
-#define __save_flags_cli(x)				\
+#define local_save_flags_cli(x)				\
 	do {						\
 	  unsigned long temp;				\
 	  __asm__ __volatile__(				\
@@ -55,7 +55,7 @@
 /*
  * Enable IRQs
  */
-#define __sti()					\
+#define local_irq_enable()			\
 	do {					\
 	  unsigned long temp;			\
 	  __asm__ __volatile__(			\
@@ -70,7 +70,7 @@
 /*
  * Disable IRQs
  */
-#define __cli()					\
+#define local_irq_disable()			\
 	do {					\
 	  unsigned long temp;			\
 	  __asm__ __volatile__(			\
@@ -103,7 +103,7 @@
 /*
  * save current IRQ & FIQ state
  */
-#define __save_flags(x)				\
+#define local_save_flags(x)			\
 	do {					\
 	  __asm__ __volatile__(			\
 "	mov	%0, pc		@ save_flags\n"	\
@@ -114,7 +114,7 @@
 /*
  * restore saved IRQ & FIQ state
  */
-#define __restore_flags(x)				\
+#define local_irq_restore(x)				\
 	do {						\
 	  unsigned long temp;				\
 	  __asm__ __volatile__(				\

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