diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2018-10-16 22:25:24 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-10-17 12:30:31 +0200 |
commit | 6aa676761d4c1acfa31320e55fa1f83f3fcbbc7a (patch) | |
tree | 1f0d6ad72f974da261b0fb212a9be944725cf447 /drivers/fpga/fpga-bridge.c | |
parent | ae852495be365f6be433dde6629d3f0316f8efde (diff) |
x86/fpu: Remove second definition of fpu in __fpu__restore_sig()
Commit:
c5bedc6847c3b ("x86/fpu: Get rid of PF_USED_MATH usage, convert it to fpu->fpstate_active")
introduced the 'fpu' variable at top of __restore_xstate_sig(),
which now shadows the other definition:
arch/x86/kernel/fpu/signal.c:318:28: warning: symbol 'fpu' shadows an earlier one
arch/x86/kernel/fpu/signal.c:271:20: originally declared here
Remove the shadowed definition of 'fpu', as the two definitions are the same.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: c5bedc6847c3b ("x86/fpu: Get rid of PF_USED_MATH usage, convert it to fpu->fpstate_active")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions