From 7ec68862a27c8f6f6d566228de8f6724d964a939 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 13 Apr 2008 14:19:23 -0700 Subject: [PATCH] Fix compile error ...as suggested by Peter Pearse Signed-off-by: Wolfgang Denk --- cpu/arm1136/omap24xx/interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c index a50fa391d3..b9a8b93521 100644 --- 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