]> git.baikalelectronics.ru Git - kernel.git/commit
x86 signals: lift flags diddling code
authorRoland McGrath <roland@redhat.com>
Sat, 19 Apr 2008 21:26:54 +0000 (14:26 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:47 +0000 (17:35 +0200)
commit731813d4a844d6f390cd093bf563714cab20292b
tree25cc707163471e593274a16fe3623801b6f0a7a6
parent35a2ced2c40303f85ec26852332243c580ac16a6
x86 signals: lift flags diddling code

This lifts the code diddling the TF and DF bits for signal handler setup
out of the several places copying the same code into the one place that
calls them all.  There is no change in what it does.

I also separated the recently-added DF bit clearing from the TF diddling.
The compiler turns them back into one instruction anyway.  The tossing
in of DF to the same line of code with no new comments was a bit more
arcane than seems wise.

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