patch-2.4.22 linux-2.4.22/arch/arm/mach-sa1100/leds-graphicsclient.c
Next file: linux-2.4.22/arch/arm/mach-sa1100/leds-graphicsmaster.c
Previous file: linux-2.4.22/arch/arm/mach-sa1100/leds-frodo.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
2003-08-25 04:44:39.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/arm/mach-sa1100/leds-graphicsclient.c
-  Orig date: 
2001-08-12 11:13:59.000000000 -0700
diff -urN linux-2.4.21/arch/arm/mach-sa1100/leds-graphicsclient.c linux-2.4.22/arch/arm/mach-sa1100/leds-graphicsclient.c
@@ -30,7 +30,7 @@
 {
 	unsigned long flags;
 
-	save_flags_cli(flags);
+	local_irq_save(flags);
 
 	switch (evt) {
 	case led_start:
@@ -100,5 +100,5 @@
 		GPCR = hw_led_state ^ LED_MASK;
 	}
 
-	restore_flags(flags);
+	local_irq_restore(flags);
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)