diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 22:46:03 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 22:46:03 (GMT) |
commit | ec70f65e3b5309e7ac8b5508ff5657050c92b913 (patch) | |
tree | 81c89280304362fddfc838e49a5e24ce66b630df | |
parent | b47bd961e298aff8144a98bff38cf4de4a2834b9 (diff) | |
download | linux-fsl-qoriq-ec70f65e3b5309e7ac8b5508ff5657050c92b913.tar.xz |
[MIPS] Kill useless volatile keyword
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 6379003..3d033e1 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; |