Commit 066bebd6353e33af3adefc3404560871699e9961

Authored by Peter Pearse
1 parent 7a837b7310

Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c

to prevent compilation error.

Signed-off-by: Peter Pearse <peter.pearse@arm.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

cpu/arm1136/omap24xx/interrupts.c
... ... @@ -37,7 +37,7 @@
37 37 #define TIMER_LOAD_VAL 0
38 38  
39 39 /* macro to read the 32 bit timer */
40   -#define READ_TIMER (*volatile ulong*(CFG_TIMERBASE+TCRR))
  40 +#define READ_TIMER (*((volatile ulong*)(CFG_TIMERBASE+TCRR)))
41 41  
42 42 static ulong timestamp;
43 43 static ulong lastinc;