• Roland McGrath's avatar
    x86: x86 i387 header cleanup · cc927a25
    Roland McGrath authored
    This moves some code into asm-x86/i387_64.h in preparation for
    unifying this code between 32 and 64.  The 32-bit versions of
    some things are copied in some existing names changed to match
    32-bit names and share code.  For 64, save_i387 is moved into
    an inline from i387_64.c; this matches restore_i387, which is
    already an inline, and makes sense since there is exactly one
    caller (in signal_64.c).  The save_i387 function could use more
    cosmetic cleanup, but it is just moved verbatim in this patch.
    Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    cc927a25
i387_64.h 9.1 KB