x86/fpu: Rename xstate related 'fx' references to 'xstate'
authorIngo Molnar <mingo@kernel.org>
Mon, 25 May 2015 08:57:06 +0000 (10:57 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 25 May 2015 10:49:35 +0000 (12:49 +0200)
commit87dafd41a4423c6f730e5f4b0d56a1aa3fdcf3fc
treeabe6c60900b8de033cf72ede42b86ab5037409ed
parent6e5535940fcc2608e58af997236ce5e0391ccfc6
x86/fpu: Rename xstate related 'fx' references to 'xstate'

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: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu/internal.h