#include <linux/timex.h>
#include <linux/slab.h>
#include <linux/random.h>
-#include <asm/bitops.h>
+#include <linux/bitops.h>
#include <asm/bootinfo.h>
#include <asm/io.h>
#include <asm/mipsregs.h>
/* Sets the exception_handler array. */
set_except_vector(0, galileo_handle_int);
- cli();
+ local_irq_disable();
/*
* Enable timer. Other interrupts will be enabled as they are
set_c0_status(IE_IRQ2);
}
-void __init init_IRQ(void)
+void __init arch_init_irq(void)
{
int i;
irq_desc[i].handler = &no_irq_type;
irq_desc[i].action = NULL;
irq_desc[i].depth = 0;
- irq_desc[i].lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&irq_desc[i].lock);
}
gt64120_irq_setup();