Commit b4d05cb9 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Make set_vi_srs_handler static.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 6fd11a21
...@@ -1019,7 +1019,7 @@ void mips_srs_free (int set) ...@@ -1019,7 +1019,7 @@ void mips_srs_free (int set)
spin_unlock_irqrestore(&sr->sr_lock, flags); spin_unlock_irqrestore(&sr->sr_lock, flags);
} }
void *set_vi_srs_handler (int n, void *addr, int srs) static void *set_vi_srs_handler(int n, void *addr, int srs)
{ {
unsigned long handler; unsigned long handler;
unsigned long old_handler = vi_handlers[n]; unsigned long old_handler = vi_handlers[n];
......
...@@ -440,7 +440,6 @@ static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, ...@@ -440,7 +440,6 @@ static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old,
extern void set_handler (unsigned long offset, void *addr, unsigned long len); extern void set_handler (unsigned long offset, void *addr, unsigned long len);
extern void set_uncached_handler (unsigned long offset, void *addr, unsigned long len); extern void set_uncached_handler (unsigned long offset, void *addr, unsigned long len);
extern void *set_vi_handler (int n, void *addr); extern void *set_vi_handler (int n, void *addr);
extern void *set_vi_srs_handler (int n, void *addr, int regset);
extern void *set_except_vector(int n, void *addr); extern void *set_except_vector(int n, void *addr);
extern void per_cpu_trap_init(void); extern void per_cpu_trap_init(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment