x86 signals: lift set_fs
authorRoland McGrath <roland@redhat.com>
Sat, 19 Apr 2008 21:27:56 +0000 (14:27 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:47 +0000 (17:35 +0200)
commit55928e37b29ba5557a5edc8ab679fe5191bc051d
treea59752fa1083243e6b2126cbb40b6a247ddcd89f
parent8b9c5ff380aa4f10658171ed2b9abc1e0861b770
x86 signals: lift set_fs

This lifts the set_fs(USER_DS) call for signal handler setup out of the
three places copying the same code into the one place that calls them
all.  There is no change in what it does.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/ia32/ia32_signal.c
arch/x86/kernel/signal_64.c