public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m68k traps.c constraints
@ 2006-06-15 11:14 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-06-15 11:14 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-m68k

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>

---

 arch/m68k/kernel/traps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

bdc7b61b5412460e1c6d8c723e7744807d23131b
diff --git a/arch/m68k/kernel/traps.c b/arch/m68k/kernel/traps.c
index c640d0f..efc704e 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 */
-- 
1.3.GIT


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-15 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15 11:14 [PATCH] m68k traps.c constraints Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox