aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/traps.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-06-23 05:05:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 10:43:01 -0400
commitf1b5e520bb65e98d27632cd270d931838bd2a5da (patch)
tree4685f12b6e919faabd1bd24a32b180c420aaa47a /arch/m68k/kernel/traps.c
parentde290166552a037234bca44ed4bcbf4a4e9f5be9 (diff)
[PATCH] m68k traps.c constraints
Cast is not an lvalue; =r constraint wants an lvalue and really couldn't care whether it's void * or other pointer type. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/kernel/traps.c')
-rw-r--r--arch/m68k/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c
index 86aa63f91f73..837a88709902 100644
--- a/arch/m68k/kernel/traps.c
+++ b/arch/m68k/kernel/traps.c
@@ -114,7 +114,7 @@ void __init base_trap_init(void)
114 if(MACH_IS_SUN3X) { 114 if(MACH_IS_SUN3X) {
115 extern e_vector *sun3x_prom_vbr; 115 extern e_vector *sun3x_prom_vbr;
116 116
117 __asm__ volatile ("movec %%vbr, %0" : "=r" ((void*)sun3x_prom_vbr)); 117 __asm__ volatile ("movec %%vbr, %0" : "=r" (sun3x_prom_vbr));
118 } 118 }
119 119
120 /* setup the exception vector table */ 120 /* setup the exception vector table */