patch-2.4.22 linux-2.4.22/arch/arm/mach-sa1100/leds-graphicsmaster.c
Next file: linux-2.4.22/arch/arm/mach-sa1100/leds-hackkit.c
Previous file: linux-2.4.22/arch/arm/mach-sa1100/leds-graphicsclient.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-graphicsmaster.c
- Orig date:
2001-10-11 09:04:57.000000000 -0700
diff -urN linux-2.4.21/arch/arm/mach-sa1100/leds-graphicsmaster.c linux-2.4.22/arch/arm/mach-sa1100/leds-graphicsmaster.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)