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:
committed by
Ingo Molnar
parent
9cc3c49ed1
commit
b78a5b5260
@@ -197,10 +197,8 @@ struct rt_sigframe
|
|||||||
/* fp state follows here */
|
/* fp state follows here */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define COPY(x) { \
|
#define COPY(x) { \
|
||||||
unsigned int reg; \
|
err |= __get_user(regs->x, &sc->x); \
|
||||||
err |= __get_user(reg, &sc->x); \
|
|
||||||
regs->x = reg; \
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define RELOAD_SEG(seg,mask) \
|
#define RELOAD_SEG(seg,mask) \
|
||||||
|
Reference in New Issue
Block a user