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>
This commit is contained in:
Hiroshi Shimamoto 2008-11-17 15:44:50 -08:00 committed by Ingo Molnar
parent 9cc3c49ed1
commit b78a5b5260

View File

@ -198,9 +198,7 @@ struct rt_sigframe
};
#define COPY(x) { \
unsigned int reg; \
err |= __get_user(reg, &sc->x); \
regs->x = reg; \
err |= __get_user(regs->x, &sc->x); \
}
#define RELOAD_SEG(seg,mask) \