• Linus Torvalds's avatar
    x86: make restore_fpu() use alternative assembler instructions · 8ed1383f
    Linus Torvalds authored
    It's really just a single instruction, conditional on whether the CPU
    supports FXSR or not, so implement it as such instead of making it a
    function that queries FXSR dynamically.
    
    This means that the instruction just gets automatically rewritten to the
    correct one at boot-time.
    8ed1383f
i387.h 2.84 KB