patch-2.4.22 linux-2.4.22/arch/arm/mach-sa1100/leds-adsbitsy.c

Next file: linux-2.4.22/arch/arm/mach-sa1100/leds-adsbitsyplus.c
Previous file: linux-2.4.22/arch/arm/mach-sa1100/leds-adsagc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/arm/mach-sa1100/leds-adsbitsy.c linux-2.4.22/arch/arm/mach-sa1100/leds-adsbitsy.c
@@ -28,7 +28,7 @@
 {
 	unsigned long flags;
 
-	save_flags_cli(flags);
+	local_irq_save(flags);
 
 	switch (evt) {
 	case led_start:
@@ -92,5 +92,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)