]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Simplify the xsave_state*() methods
authorIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2015 13:08:34 +0000 (15:08 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:18 +0000 (15:47 +0200)
commit7a063865385429c0755c05d3a576fb4a9de38d5a
tree18dec7cbabffcd94616bb47f5af4ef1afe999056
parentf94fac60075c43de136317a1a6ecfb60549ae72f
x86/fpu: Simplify the xsave_state*() methods

These functions (xsave_state() and xsave_state_booting()) have a 'mask'
argument that is always -1.

Propagate this into the functions instead and eliminate the extra argument.

Does not change the generated code, because these were inlined functions.

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/include/asm/fpu-internal.h
arch/x86/include/asm/xsave.h
arch/x86/kernel/fpu/xsave.c