提交 ff3eab2a 编写于 作者: R Ralf Baechle

[MIPS] Some formatting fixes.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 7acb783e
...@@ -987,7 +987,7 @@ int mips_srs_max(void) ...@@ -987,7 +987,7 @@ int mips_srs_max(void)
return shadow_registers.sr_supported; return shadow_registers.sr_supported;
} }
int mips_srs_alloc (void) int mips_srs_alloc(void)
{ {
struct shadow_registers *sr = &shadow_registers; struct shadow_registers *sr = &shadow_registers;
unsigned long flags; unsigned long flags;
...@@ -1096,7 +1096,7 @@ static void *set_vi_srs_handler(int n, void *addr, int srs) ...@@ -1096,7 +1096,7 @@ static void *set_vi_srs_handler(int n, void *addr, int srs)
void *set_vi_handler (int n, void *addr) void *set_vi_handler (int n, void *addr)
{ {
return set_vi_srs_handler (n, addr, 0); return set_vi_srs_handler(n, addr, 0);
} }
#endif #endif
...@@ -1277,7 +1277,7 @@ void __init trap_init(void) ...@@ -1277,7 +1277,7 @@ void __init trap_init(void)
if (cpu_has_veic || cpu_has_vint) { if (cpu_has_veic || cpu_has_vint) {
int nvec = cpu_has_veic ? 64 : 8; int nvec = cpu_has_veic ? 64 : 8;
for (i = 0; i < nvec; i++) for (i = 0; i < nvec; i++)
set_vi_handler (i, NULL); set_vi_handler(i, NULL);
} }
else if (cpu_has_divec) else if (cpu_has_divec)
set_handler(0x200, &except_vec4, 0x8); set_handler(0x200, &except_vec4, 0x8);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册