summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-10-15 21:17:09 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-15 19:37:50 -0700
commit388d148fe89cbdd99ec6bcab6cf34480e74c50ee (patch)
tree56d65bf99e4159eb7adb5031b9c237df7bf35b3f /arch/m32r
parent99d6734f3ca66c17b81df85724953a9b29eff7cf (diff)
downloadlinux-388d148fe89cbdd99ec6bcab6cf34480e74c50ee.tar.gz
linux-388d148fe89cbdd99ec6bcab6cf34480e74c50ee.tar.bz2
linux-388d148fe89cbdd99ec6bcab6cf34480e74c50ee.zip
m32r: get_user takes an lvalue, not a pointer
Signed-off-by: Kyle McMartin <kyle@redhat.com> Acked-by: Al "my fuckup" Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c
index cc36fe149255..a08697f0886d 100644
--- a/arch/m32r/kernel/signal.c
+++ b/arch/m32r/kernel/signal.c
@@ -256,7 +256,7 @@ give_sigsegv:
static int prev_insn(struct pt_regs *regs)
{
u16 inst;
- if (get_user(&inst, (u16 __user *)(regs->bpc - 2)))
+ if (get_user(inst, (u16 __user *)(regs->bpc - 2)))
return -EFAULT;
if ((inst & 0xfff0) == 0x10f0) /* trap ? */
regs->bpc -= 2;