Skip to content

Commit f1b5e52

Browse files
Al ViroLinus Torvalds
authored andcommitted
[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>
1 parent de29016 commit f1b5e52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/m68k/kernel/traps.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void __init base_trap_init(void)
114114
if(MACH_IS_SUN3X) {
115115
extern e_vector *sun3x_prom_vbr;
116116

117-
__asm__ volatile ("movec %%vbr, %0" : "=r" ((void*)sun3x_prom_vbr));
117+
__asm__ volatile ("movec %%vbr, %0" : "=r" (sun3x_prom_vbr));
118118
}
119119

120120
/* setup the exception vector table */

0 commit comments

Comments
 (0)