|
From: Paul M. <le...@us...> - 2006-08-07 02:22:16
|
Update of /cvsroot/linuxsh/linux/arch/sh/boards/renesas/hs7751rvoip In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4439/arch/sh/boards/renesas/hs7751rvoip Modified Files: irq.c Log Message: More local IRQ purging, due to generic hardirq locking. Index: irq.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/boards/renesas/hs7751rvoip/irq.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- irq.c 28 Oct 2005 13:12:48 -0000 1.2 +++ irq.c 7 Aug 2006 02:22:11 -0000 1.3 @@ -36,30 +36,24 @@ static void disable_hs7751rvoip_irq(unsigned int irq) { - unsigned long flags; unsigned short val; unsigned short mask = 0xffff ^ (0x0001 << mask_pos[irq]); /* Set the priority in IPR to 0 */ - local_irq_save(flags); val = ctrl_inw(IRLCNTR3); val &= mask; ctrl_outw(val, IRLCNTR3); - local_irq_restore(flags); } static void enable_hs7751rvoip_irq(unsigned int irq) { - unsigned long flags; unsigned short val; unsigned short value = (0x0001 << mask_pos[irq]); /* Set priority in IPR back to original value */ - local_irq_save(flags); val = ctrl_inw(IRLCNTR3); val |= value; ctrl_outw(val, IRLCNTR3); - local_irq_restore(flags); } static void ack_hs7751rvoip_irq(unsigned int irq) |