summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorPeter Pearse <peter.pearse@arm.com>2008-03-30 11:34:09 +0100
committerPeter Pearse <peter.pearse@arm.com>2008-03-30 11:34:09 +0100
commit066bebd6353e33af3adefc3404560871699e9961 (patch)
tree98048f95128e0c7e4d38b710031ae007fbda4590 /cpu
parent7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6 (diff)
Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c
to prevent compilation error. Signed-off-by: Peter Pearse <peter.pearse@arm.com>
Diffstat (limited to 'cpu')
-rwxr-xr-x[-rw-r--r--]cpu/arm1136/omap24xx/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c
index 5963d621bd6..8503b24a8ea 100644..100755
--- 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;