[PATCH] uml: fix a macro typo
authorAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Sat, 3 Sep 2005 22:57:28 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:21 +0000 (00:06 -0700)
Fix a macro typo which could break if the macro is passed arguments with
side-effects.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/include/sysdep-x86_64/ptrace.h

index be8acd5efd974ac9a3b36a2b3a7703d332900996..331aa2d1f3f5469f04c0fa9bbefe0a15934edde0 100644 (file)
@@ -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) \