x86/fpu: Simplify copy_kernel_to_xregs_booting()
authorIngo Molnar <mingo@kernel.org>
Wed, 27 May 2015 12:04:44 +0000 (14:04 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 May 2015 12:11:33 +0000 (14:11 +0200)
commitd65fcd608f6a9ac0316bd3efc75956ca329b6571
tree48b9955bb26405a88faca414b50ed876130c2f5e
parent003e2e8b57e79709e4973f6cb48381b2ba396680
x86/fpu: Simplify copy_kernel_to_xregs_booting()

copy_kernel_to_xregs_booting() has a second parameter that is the mask
of xfeatures that should be copied - but this parameter is always -1.

Simplify the call site of this function, this also makes it more
similar to the function call signature of other copy_kernel_to*regs()
functions.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Bobby Powers <bobbypowers@gmail.com>
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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/fpu/internal.h
arch/x86/kernel/fpu/xstate.c
This page took 0.02604 seconds and 5 git commands to generate.