x86/fpu/xstate: Use explicit parameter in xstate_fault()
authorIngo Molnar <mingo@kernel.org>
Wed, 20 May 2015 07:59:30 +0000 (09:59 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 May 2015 08:02:22 +0000 (10:02 +0200)
commitb11ca7fbc735aca5ab78ce8130603bbf4fefd3f7
tree69b2c197faf09291eebe2f5134fef040ebaa0d0a
parentb1b64dc3558b7bde2917f9fc4f573f6a4787a95c
x86/fpu/xstate: Use explicit parameter in xstate_fault()

While looking at xstate.h it took me some time to realize that
'xstate_fault' uses 'err' as a silent parameter. This is not
obvious at the call site, at all.

Make it an explicit macro argument, so that the syntactic
connection is easier to see. Also explain xstate_fault()
a bit.

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: Peter Zijlstra <peterz@infradead.org>
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/xstate.h
This page took 0.024984 seconds and 5 git commands to generate.