Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c
to prevent compilation error. Signed-off-by: Peter Pearse <peter.pearse@arm.com>
This commit is contained in:
parent
7a837b7310
commit
066bebd635
2
cpu/arm1136/omap24xx/interrupts.c
Normal file → Executable file
2
cpu/arm1136/omap24xx/interrupts.c
Normal file → Executable file
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user