Skip to content
Snippets Groups Projects
  • Ingo Molnar's avatar
    87dafd41
    x86/fpu: Rename xstate related 'fx' references to 'xstate' · 87dafd41
    Ingo Molnar authored
    
    So the xstate code was probably first copied from the fxregs code,
    hence it carried over the 'fx' naming for the state pointer variable.
    
    But this is slightly confusing, as we usually on call the (legacy)
    MMX/SSE state 'fx', both in data structures and in the functions
    build around FXSAVE/FXRSTOR.
    
    So rename it to 'xstate' to make it more apparent what it is related to.
    
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    87dafd41
    History
    x86/fpu: Rename xstate related 'fx' references to 'xstate'
    Ingo Molnar authored
    
    So the xstate code was probably first copied from the fxregs code,
    hence it carried over the 'fx' naming for the state pointer variable.
    
    But this is slightly confusing, as we usually on call the (legacy)
    MMX/SSE state 'fx', both in data structures and in the functions
    build around FXSAVE/FXRSTOR.
    
    So rename it to 'xstate' to make it more apparent what it is related to.
    
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>