diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-05-06 13:31:18 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-05-11 09:28:30 -0400 |
commit | ef300e42234eac066b193c871714203d999b481c (patch) | |
tree | 2dddd78a2a0a773ec4e8780343097db527decaff /arch | |
parent | 856a514b408fd1b147bf95916811980982fa40d0 (diff) |
[MIPS] Define and use vi_handler_t for vectored interrupt handlers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index b511ed3091c5..200de027f354 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1128,7 +1128,7 @@ void mips_srs_free(int set) | |||
1128 | clear_bit(set, &sr->sr_allocated); | 1128 | clear_bit(set, &sr->sr_allocated); |
1129 | } | 1129 | } |
1130 | 1130 | ||
1131 | static void *set_vi_srs_handler(int n, void *addr, int srs) | 1131 | static void *set_vi_srs_handler(int n, vi_handler_t addr, int srs) |
1132 | { | 1132 | { |
1133 | unsigned long handler; | 1133 | unsigned long handler; |
1134 | unsigned long old_handler = vi_handlers[n]; | 1134 | unsigned long old_handler = vi_handlers[n]; |
@@ -1217,7 +1217,7 @@ static void *set_vi_srs_handler(int n, void *addr, int srs) | |||
1217 | return (void *)old_handler; | 1217 | return (void *)old_handler; |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | void *set_vi_handler(int n, void *addr) | 1220 | void *set_vi_handler(int n, vi_handler_t addr) |
1221 | { | 1221 | { |
1222 | return set_vi_srs_handler(n, addr, 0); | 1222 | return set_vi_srs_handler(n, addr, 0); |
1223 | } | 1223 | } |