x86: signal: put give_sigsegv of setup frames together
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Sat, 13 Sep 2008 00:01:09 +0000 (17:01 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 13:35:34 +0000 (15:35 +0200)
commit3d0aedd9538e6be8afec1a9d8b084bf90bc91495
treef1dd505b2a703343a0c5dc0ab3a7c2e98949f1f8
parent764e8d128f9343027cf09afe8a145e8ff186e129
x86: signal: put give_sigsegv of setup frames together

When setup frame fails, force_sigsegv is called and returns -EFAULT.
There is similar code in ia32_setup_frame(), ia32_setup_rt_frame(),
__setup_frame() and __setup_rt_frame().

Make them identical.

No change in functionality intended.

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
arch/x86/kernel/signal_32.c
arch/x86/kernel/signal_64.c