diff options
-rw-r--r-- | arch/mips/kernel/traps.c | 6 |
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 | ||
990 | int mips_srs_alloc (void) | 990 | int 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 | ||
1097 | void *set_vi_handler (int n, void *addr) | 1097 | void *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); |