[INT] fix the mask/unmask interrupt api to not take oldstate argument
diff --git a/platform/omap3/interrupts.c b/platform/omap3/interrupts.c
index 225d810..77c632d 100644
--- a/platform/omap3/interrupts.c
+++ b/platform/omap3/interrupts.c
@@ -73,7 +73,7 @@
 	*REG32(INTC_CONTROL) = 3; // reset and enable the controller
 }
 
-status_t mask_interrupt(unsigned int vector, bool *oldstate)
+status_t mask_interrupt(unsigned int vector)
 {
 	if (vector >= INT_VECTORS)
 		return ERR_INVALID_ARGS;
@@ -82,9 +82,6 @@
 
 	enter_critical_section();
 
-	if (oldstate)
-		*oldstate = false;
-
 	*REG32(INTC_MIR_SET(vectorToController(vector))) = 1 << (vector % 32);
 
 	exit_critical_section();
@@ -97,10 +94,10 @@
 {
 	int i;
 	for (i=0; i<INT_VECTORS; i++)
-		mask_interrupt(i, NULL);
+		mask_interrupt(i);
 }
 
-status_t unmask_interrupt(unsigned int vector, bool *oldstate)
+status_t unmask_interrupt(unsigned int vector)
 {
 	if (vector >= INT_VECTORS)
 		return ERR_INVALID_ARGS;
@@ -109,9 +106,6 @@
 
 	enter_critical_section();
 
-	if (oldstate)
-		*oldstate = false;
-
 	*REG32(INTC_MIR_CLEAR(vectorToController(vector))) = 1 << (vector % 32);
 
 	exit_critical_section();
diff --git a/platform/omap3/timer.c b/platform/omap3/timer.c
index 7c2b1f3..c6df208 100644
--- a/platform/omap3/timer.c
+++ b/platform/omap3/timer.c
@@ -57,7 +57,7 @@
 	TIMER_REG(TIER) = 0x2;
 	TIMER_REG(TCLR) = 0x3; // autoreload, start
 
-	unmask_interrupt(GPT2_IRQ, NULL);
+	unmask_interrupt(GPT2_IRQ);
 
 	exit_critical_section();