From: Al Viro Date: Sat, 3 Sep 2005 22:57:28 +0000 (-0700) Subject: [PATCH] uml: fix a macro typo X-Git-Tag: v2.6.14-rc1~807 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7efd08c85523f9468a6a8748d6f02b3e73967569;p=linux-2.6-omap-h63xx.git [PATCH] uml: fix a macro typo Fix a macro typo which could break if the macro is passed arguments with side-effects. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/include/sysdep-x86_64/ptrace.h b/arch/um/include/sysdep-x86_64/ptrace.h index be8acd5efd9..331aa2d1f3f 100644 --- a/arch/um/include/sysdep-x86_64/ptrace.h +++ b/arch/um/include/sysdep-x86_64/ptrace.h @@ -227,7 +227,7 @@ struct syscall_args { panic("Bad register in UPT_SET : %d\n", reg); \ break; \ } \ - val; \ + __upt_val; \ }) #define UPT_SET_SYSCALL_RETURN(r, res) \