Skip to content

Commit

Permalink
[PATCH] m68k traps.c constraints
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jun 23, 2006
1 parent de29016 commit f1b5e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f1b5e52

Please sign in to comment.