diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-03-29 08:09:14 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-18 22:14:12 -0400 |
commit | b4d05cb9cbbf206ab0dc2c1740938b87b3d3ee44 (patch) | |
tree | 4876f9784d9a2f03f947ed372f8dec3334b270ac | |
parent | 6fd11a2173709cd598345e15382af480979cf4fc (diff) |
[MIPS] Make set_vi_srs_handler static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/traps.c | 2 | ||||
-rw-r--r-- | include/asm-mips/system.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index bed0eb6cf55d..4efe3f2eba63 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1019,7 +1019,7 @@ void mips_srs_free (int set) | |||
1019 | spin_unlock_irqrestore(&sr->sr_lock, flags); | 1019 | spin_unlock_irqrestore(&sr->sr_lock, flags); |
1020 | } | 1020 | } |
1021 | 1021 | ||
1022 | void *set_vi_srs_handler (int n, void *addr, int srs) | 1022 | static void *set_vi_srs_handler(int n, void *addr, int srs) |
1023 | { | 1023 | { |
1024 | unsigned long handler; | 1024 | unsigned long handler; |
1025 | unsigned long old_handler = vi_handlers[n]; | 1025 | unsigned long old_handler = vi_handlers[n]; |
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 4097fac5ac3c..29c55e7ab311 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h | |||
@@ -440,7 +440,6 @@ static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, | |||
440 | extern void set_handler (unsigned long offset, void *addr, unsigned long len); | 440 | extern void set_handler (unsigned long offset, void *addr, unsigned long len); |
441 | extern void set_uncached_handler (unsigned long offset, void *addr, unsigned long len); | 441 | extern void set_uncached_handler (unsigned long offset, void *addr, unsigned long len); |
442 | extern void *set_vi_handler (int n, void *addr); | 442 | extern void *set_vi_handler (int n, void *addr); |
443 | extern void *set_vi_srs_handler (int n, void *addr, int regset); | ||
444 | extern void *set_except_vector(int n, void *addr); | 443 | extern void *set_except_vector(int n, void *addr); |
445 | extern void per_cpu_trap_init(void); | 444 | extern void per_cpu_trap_init(void); |
446 | 445 | ||