From: Ralf Baechle Date: Thu, 11 Oct 2007 22:46:03 +0000 (+0100) Subject: [MIPS] Kill useless volatile keyword X-Git-Tag: v2.6.24-rc1~1455^2~59 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ec70f65e3b5309e7ac8b5508ff5657050c92b913;p=linux-2.6-omap-h63xx.git [MIPS] Kill useless volatile keyword Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 6379003f9d8..3d033e1cd4f 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1075,8 +1075,8 @@ void *set_except_vector(int n, void *addr) exception_handlers[n] = handler; if (n == 0 && cpu_has_divec) { - *(volatile u32 *)(ebase + 0x200) = 0x08000000 | - (0x03ffffff & (handler >> 2)); + *(u32 *)(ebase + 0x200) = 0x08000000 | + (0x03ffffff & (handler >> 2)); flush_icache_range(ebase + 0x200, ebase + 0x204); } return (void *)old_handler;