提交 066bebd6 编写于 作者: P Peter Pearse

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

to prevent compilation error.
Signed-off-by: NPeter Pearse <peter.pearse@arm.com>
上级 7a837b73
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#define TIMER_LOAD_VAL 0 #define TIMER_LOAD_VAL 0
/* macro to read the 32 bit timer */ /* 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 timestamp;
static ulong lastinc; static ulong lastinc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册