x86/fpu: Rename 'xstate_features' to 'xfeatures_nr'
authorIngo Molnar <mingo@kernel.org>
Fri, 24 Apr 2015 07:23:59 +0000 (09:23 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:33 +0000 (15:47 +0200)
commit84246fe4e3a0e412a9602983ba37f4e4dbebb3e8
tree2513fabb52914b94b67c9f21b2f516401c3f781f
parent614df7fb8a661b0881f9709206350b59de3f84ab
x86/fpu: Rename 'xstate_features' to 'xfeatures_nr'

The name 'xstate_features' does not tell us whether it's a bitmap
or any other value. That it's a count of features is only obvious
if you read the code that calculates it.

Rename it to the more descriptive 'xfeatures_nr' name.

Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
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: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/fpu/xsave.c