]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71e11017131c92cc5b20eb4fd9afeb39ed3a853d
treeabe6c60900b8de033cf72ede42b86ab5037409ed
parent30efa2f4991023e923064940d720613f67ff14e5
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