aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-11-17 18:44:50 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-18 10:55:33 -0500
commitb78a5b5260abf90d574911e7c7b8d35d5b48d6c0 (patch)
treed4db869cd56892c3acc9fe00be5cffcd840f6166 /arch/x86/ia32
parent9cc3c49ed1b1dbf6e50de4055a6773bd162f24b7 (diff)
x86: ia32_signal: cleanup macro COPY
Impact: cleanup No need to use temporary variable in this case. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r--arch/x86/ia32/ia32_signal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c
index e2d0bc779bf7..610a17774ea2 100644
--- a/arch/x86/ia32/ia32_signal.c
+++ b/arch/x86/ia32/ia32_signal.c
@@ -197,10 +197,8 @@ struct rt_sigframe
197 /* fp state follows here */ 197 /* fp state follows here */
198}; 198};
199 199
200#define COPY(x) { \ 200#define COPY(x) { \
201 unsigned int reg; \ 201 err |= __get_user(regs->x, &sc->x); \
202 err |= __get_user(reg, &sc->x); \
203 regs->x = reg; \
204} 202}
205 203
206#define RELOAD_SEG(seg,mask) \ 204#define RELOAD_SEG(seg,mask) \