Skip to content
  • Roland McGrath's avatar
    x86 signals: lift flags diddling code · 8b9c5ff3
    Roland McGrath authored
    
    
    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: default avatarRoland McGrath <roland@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8b9c5ff3