mips, x86: optimize the i8259 code a bit
authorRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jan 2008 12:30:47 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:47 +0000 (13:30 +0100)
commit5f627f8e122a163ce53908d55e088247db31f1d7
tree15e48b30394cbfd014aaf7f99f5a4bfee5b8efbb
parentb263295dbffd33b0fbff670720fa178c30e3392a
mips, x86: optimize the i8259 code a bit

The timer code always calls the clock_event_device set_net_event and
set_mode methods with interrupts disabled, so no need to use
spin_lock_irqsave / spin_unlock_irqrestore for those.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by:Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/mips/kernel/i8253.c
arch/x86/kernel/i8253.c