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

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)