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
- Lines: 16
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/arm/mach-sa1100/leds-adsbitsy.c
- Orig date:
2001-10-25 13:53:46.000000000 -0700
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)