[INT] fix the mask/unmask interrupt api to not take oldstate argument
diff --git a/platform/omap5912/interrupts.c b/platform/omap5912/interrupts.c
index 5621561..730618f 100644
--- a/platform/omap5912/interrupts.c
+++ b/platform/omap5912/interrupts.c
@@ -99,7 +99,7 @@
 	*ICReg(0, INTCON_GMR) = 0;
 }
 
-status_t mask_interrupt(unsigned int vector, bool *oldstate)
+status_t mask_interrupt(unsigned int vector)
 {
 	if (vector >= INT_VECTORS)
 		return ERR_INVALID_ARGS;
@@ -108,9 +108,6 @@
 
 	enter_critical_section();
 
-	if (oldstate)
-		*oldstate = false;
-
 	volatile uint32_t *mir = ICReg(vectorToController(vector), INTCON_MIR);
 	*mir = *mir | (1<<(vector % 32));
 
@@ -119,7 +116,7 @@
 	return NO_ERROR;
 }
 
-status_t unmask_interrupt(unsigned int vector, bool *oldstate)
+status_t unmask_interrupt(unsigned int vector)
 {
 	if (vector >= INT_VECTORS)
 		return ERR_INVALID_ARGS;
@@ -128,9 +125,6 @@
 
 	enter_critical_section();
 
-	if (oldstate)
-		*oldstate = false;
-
 	volatile uint32_t *mir = ICReg(vectorToController(vector), INTCON_MIR);
 	*mir = *mir & ~(1<<(vector % 32));
 
diff --git a/platform/omap5912/timer.c b/platform/omap5912/timer.c
index 72659f1..2bc09ce 100644
--- a/platform/omap5912/timer.c
+++ b/platform/omap5912/timer.c
@@ -105,6 +105,6 @@
 	OS_TIMER_CTRL_REG = 0; // stop the timer if it's already running
 
 	register_int_handler(IRQ_OS_TIMER, &os_timer_tick, NULL);
-	unmask_interrupt(IRQ_OS_TIMER, NULL);
+	unmask_interrupt(IRQ_OS_TIMER);
 }