From 066bebd6353e33af3adefc3404560871699e9961 Mon Sep 17 00:00:00 2001 From: Peter Pearse Date: Sun, 30 Mar 2008 11:34:09 +0100 Subject: [PATCH] Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c to prevent compilation error. Signed-off-by: Peter Pearse --- cpu/arm1136/omap24xx/interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 cpu/arm1136/omap24xx/interrupts.c diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c old mode 100644 new mode 100755 index 5963d621bd..8503b24a8e --- a/cpu/arm1136/omap24xx/interrupts.c +++ b/cpu/arm1136/omap24xx/interrupts.c @@ -37,7 +37,7 @@ #define TIMER_LOAD_VAL 0 /* macro to read the 32 bit timer */ -#define READ_TIMER (*volatile ulong*(CFG_TIMERBASE+TCRR)) +#define READ_TIMER (*((volatile ulong*)(CFG_TIMERBASE+TCRR))) static ulong timestamp; static ulong lastinc; -- 2.25.1