summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@parcelfarce.linux.theplanet.co.uk>2005-09-03 22:57:28 (GMT)
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 07:06:21 (GMT)
commit7efd08c85523f9468a6a8748d6f02b3e73967569 (patch)
tree6ee5b4cadfc78665a4a85a2f5901b2441c4e4f79 /arch
parente54a5dfb960053437f464a7ce372a8acc293fdcb (diff)
downloadlinux-7efd08c85523f9468a6a8748d6f02b3e73967569.tar.xz
[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 <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/include/sysdep-x86_64/ptrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/sysdep-x86_64/ptrace.h b/arch/um/include/sysdep-x86_64/ptrace.h
index be8acd5..331aa2d 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) \