aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-03-29 08:12:58 -0500
committerRalf Baechle <ralf@linux-mips.org>2006-04-18 22:14:13 -0400
commitff3eab2a985f8efac239768fe7dda8fffc028ded (patch)
tree8afef9a4c6d472876102ec91afa6f18a2d8dcb4a /arch
parent7acb783ecd5273a864cfb588ed63c0df0e217a9e (diff)
[MIPS] Some formatting fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/traps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 7ab49c6f6574..857319085255 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -987,7 +987,7 @@ int mips_srs_max(void)
987 return shadow_registers.sr_supported; 987 return shadow_registers.sr_supported;
988} 988}
989 989
990int mips_srs_alloc (void) 990int mips_srs_alloc(void)
991{ 991{
992 struct shadow_registers *sr = &shadow_registers; 992 struct shadow_registers *sr = &shadow_registers;
993 unsigned long flags; 993 unsigned long flags;
@@ -1096,7 +1096,7 @@ static void *set_vi_srs_handler(int n, void *addr, int srs)
1096 1096
1097void *set_vi_handler (int n, void *addr) 1097void *set_vi_handler (int n, void *addr)
1098{ 1098{
1099 return set_vi_srs_handler (n, addr, 0); 1099 return set_vi_srs_handler(n, addr, 0);
1100} 1100}
1101#endif 1101#endif
1102 1102
@@ -1277,7 +1277,7 @@ void __init trap_init(void)
1277 if (cpu_has_veic || cpu_has_vint) { 1277 if (cpu_has_veic || cpu_has_vint) {
1278 int nvec = cpu_has_veic ? 64 : 8; 1278 int nvec = cpu_has_veic ? 64 : 8;
1279 for (i = 0; i < nvec; i++) 1279 for (i = 0; i < nvec; i++)
1280 set_vi_handler (i, NULL); 1280 set_vi_handler(i, NULL);
1281 } 1281 }
1282 else if (cpu_has_divec) 1282 else if (cpu_has_divec)
1283 set_handler(0x200, &except_vec4, 0x8); 1283 set_handler(0x200, &except_vec4, 0x8);