aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 04:06:37 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 12:09:05 -0500
commita763be5c1aace94cf4adfc5ea164f5b0d2d255cd (patch)
tree33f4e1aa438814a65492b4cb7fdd57b912b3c022 /arch/m68k
parent639074354bb371feb2dde409b2ce05d56afef02b (diff)
[PATCH] m68k: fix use of void foo(void) asm("bar") in traps.c
with gcc4 these have file scope, so having them different in different blocks doesn't work anymore Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/kernel/traps.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c
index deb36e8b04a2..cdf58fbb3e73 100644
--- a/arch/m68k/kernel/traps.c
+++ b/arch/m68k/kernel/traps.c
@@ -169,25 +169,25 @@ void __init trap_init (void)
169 169
170 if (CPU_IS_060 && !FPU_IS_EMU) { 170 if (CPU_IS_060 && !FPU_IS_EMU) {
171 /* set up IFPSP entry points */ 171 /* set up IFPSP entry points */
172 asmlinkage void snan_vec(void) asm ("_060_fpsp_snan"); 172 asmlinkage void snan_vec6(void) asm ("_060_fpsp_snan");
173 asmlinkage void operr_vec(void) asm ("_060_fpsp_operr"); 173 asmlinkage void operr_vec6(void) asm ("_060_fpsp_operr");
174 asmlinkage void ovfl_vec(void) asm ("_060_fpsp_ovfl"); 174 asmlinkage void ovfl_vec6(void) asm ("_060_fpsp_ovfl");
175 asmlinkage void unfl_vec(void) asm ("_060_fpsp_unfl"); 175 asmlinkage void unfl_vec6(void) asm ("_060_fpsp_unfl");
176 asmlinkage void dz_vec(void) asm ("_060_fpsp_dz"); 176 asmlinkage void dz_vec6(void) asm ("_060_fpsp_dz");
177 asmlinkage void inex_vec(void) asm ("_060_fpsp_inex"); 177 asmlinkage void inex_vec6(void) asm ("_060_fpsp_inex");
178 asmlinkage void fline_vec(void) asm ("_060_fpsp_fline"); 178 asmlinkage void fline_vec6(void) asm ("_060_fpsp_fline");
179 asmlinkage void unsupp_vec(void) asm ("_060_fpsp_unsupp"); 179 asmlinkage void unsupp_vec6(void) asm ("_060_fpsp_unsupp");
180 asmlinkage void effadd_vec(void) asm ("_060_fpsp_effadd"); 180 asmlinkage void effadd_vec6(void) asm ("_060_fpsp_effadd");
181 181
182 vectors[VEC_FPNAN] = snan_vec; 182 vectors[VEC_FPNAN] = snan_vec6;
183 vectors[VEC_FPOE] = operr_vec; 183 vectors[VEC_FPOE] = operr_vec6;
184 vectors[VEC_FPOVER] = ovfl_vec; 184 vectors[VEC_FPOVER] = ovfl_vec6;
185 vectors[VEC_FPUNDER] = unfl_vec; 185 vectors[VEC_FPUNDER] = unfl_vec6;
186 vectors[VEC_FPDIVZ] = dz_vec; 186 vectors[VEC_FPDIVZ] = dz_vec6;
187 vectors[VEC_FPIR] = inex_vec; 187 vectors[VEC_FPIR] = inex_vec6;
188 vectors[VEC_LINE11] = fline_vec; 188 vectors[VEC_LINE11] = fline_vec6;
189 vectors[VEC_FPUNSUP] = unsupp_vec; 189 vectors[VEC_FPUNSUP] = unsupp_vec6;
190 vectors[VEC_UNIMPEA] = effadd_vec; 190 vectors[VEC_UNIMPEA] = effadd_vec6;
191 } 191 }
192 192
193 /* if running on an amiga, make the NMI interrupt do nothing */ 193 /* if running on an amiga, make the NMI interrupt do nothing */