From: Peter Pearse Date: Sun, 30 Mar 2008 10:34:09 +0000 (+0100) Subject: Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c X-Git-Tag: v1.3.3-rc1~115^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=066bebd6353e33af3adefc3404560871699e9961;p=oweals%2Fu-boot.git Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c to prevent compilation error. Signed-off-by: Peter Pearse --- diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c old mode 100644 new mode 100755 index 5963d621bd..8503b24a8e --- 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;