From: Al Viro Date: Fri, 23 Jun 2006 09:05:03 +0000 (-0700) Subject: [PATCH] m68k traps.c constraints X-Git-Tag: v2.6.18-rc1~1081^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1b5e520bb65e98d27632cd270d931838bd2a5da;p=platform%2Fkernel%2Flinux-3.10.git [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 Cc: Roman Zippel Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c index 86aa63f..837a887 100644 --- a/arch/m68k/kernel/traps.c +++ b/arch/m68k/kernel/traps.c @@ -114,7 +114,7 @@ void __init base_trap_init(void) if(MACH_IS_SUN3X) { extern e_vector *sun3x_prom_vbr; - __asm__ volatile ("movec %%vbr, %0" : "=r" ((void*)sun3x_prom_vbr)); + __asm__ volatile ("movec %%vbr, %0" : "=r" (sun3x_prom_vbr)); } /* setup the exception vector table */