projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b47bd96
)
[MIPS] Kill useless volatile keyword
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:03 +0000
(23:46 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:03 +0000
(23:46 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index 6379003f9d8d0385d303617c2a1c8d7cf77e3588..3d033e1cd4f0adeafd42ebb8be0a50f577f8fe5a 100644
(file)
--- 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;