OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc3c49
)
x86: ia32_signal: cleanup macro COPY
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Mon, 17 Nov 2008 23:44:50 +0000
(15:44 -0800)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 18 Nov 2008 15:55:33 +0000
(16:55 +0100)
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>
arch/x86/ia32/ia32_signal.c
patch
|
blob
|
history
diff --git
a/arch/x86/ia32/ia32_signal.c
b/arch/x86/ia32/ia32_signal.c
index
e2d0bc7
..
610a177
100644
(file)
--- a/
arch/x86/ia32/ia32_signal.c
+++ b/
arch/x86/ia32/ia32_signal.c
@@
-197,10
+197,8
@@
struct rt_sigframe
/* fp state follows here */
};
-#define COPY(x) { \
- unsigned int reg; \
- err |= __get_user(reg, &sc->x); \
- regs->x = reg; \
+#define COPY(x) { \
+ err |= __get_user(regs->x, &sc->x); \
}
#define RELOAD_SEG(seg,mask) \