提交 b78a5b52 编写于 作者: H Hiroshi Shimamoto 提交者: Ingo Molnar

x86: ia32_signal: cleanup macro COPY

Impact: cleanup

No need to use temporary variable in this case.
Signed-off-by: NHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 9cc3c49e
......@@ -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) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册