x86: signal: move macros out from restore_sigcontext()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Fri, 3 Oct 2008 05:09:20 +0000 (22:09 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Oct 2008 08:09:12 +0000 (10:09 +0200)
commita2e8d3dcfd420177aaa0c53aca60a869bad75f4b
tree9eab473a9aa2dd386fed7a3cf89fe4dfc683b68c
parent7b9cee16ffb495558c1e3ada55cba906e520006e
x86: signal: move macros out from restore_sigcontext()

move macros, COPY, COPY_SEG*, GET_SEG, out from restore_sigcontext().
x86_64: introduce COPY_SEG_STRICT for cs.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/signal_32.c
arch/x86/kernel/signal_64.c