Skip to content

Commit

Permalink
[MIPS] Remove set_c0_status(ST0_IM) from wrppmc's irq.c.
Browse files Browse the repository at this point in the history
mips_cpu_irq_init() does clear_c0_status(ST0_IM) first, so
set_c0_status(ST0_IM) isn't necessary.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jun 29, 2006
1 parent 1500b9a commit 08aecfb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/mips/gt64120/wrppmc/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ void gt64120_init_pic(void)

void __init arch_init_irq(void)
{
/* enable all CPU interrupt bits. */
set_c0_status(ST0_IM); /* IE bit is still 0 */

/* IRQ 0 - 7 are for MIPS common irq_cpu controller */
mips_cpu_irq_init(0);

Expand Down

0 comments on commit 08aecfb

Please sign in to comment.