[MIPS] Kill useless volatile keyword
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
b47bd961e2
commit
ec70f65e3b
@ -1075,7 +1075,7 @@ void *set_except_vector(int n, void *addr)
|
|||||||
|
|
||||||
exception_handlers[n] = handler;
|
exception_handlers[n] = handler;
|
||||||
if (n == 0 && cpu_has_divec) {
|
if (n == 0 && cpu_has_divec) {
|
||||||
*(volatile u32 *)(ebase + 0x200) = 0x08000000 |
|
*(u32 *)(ebase + 0x200) = 0x08000000 |
|
||||||
(0x03ffffff & (handler >> 2));
|
(0x03ffffff & (handler >> 2));
|
||||||
flush_icache_range(ebase + 0x200, ebase + 0x204);
|
flush_icache_range(ebase + 0x200, ebase + 0x204);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user