• Ingo Molnar's avatar
    x86/fpu: Rename 'xstate_features' to 'xfeatures_nr' · 84246fe4
    Ingo Molnar authored
    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: default avatarBorislav 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: default avatarIngo Molnar <mingo@kernel.org>
    84246fe4
xsave.c 19.6 KB