aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2015-02-06 15:02:00 -0500
committerBorislav Petkov <[email protected]>2015-02-19 11:15:03 +0100
commit08a744c6bfded3d5fa66f94263f81773226113d1 (patch)
treea32ef7c2c947b7331eeb52480948ce41e6fa8431 /net/lapb/lapb_iface.c
parent1a2a7f4ec8e3a7ac582dac4d01fcc7e8acd3bb30 (diff)
x86/fpu: Change math_error() to use unlazy_fpu(), kill (now) unused save_init_fpu()
math_error() calls save_init_fpu() after conditional_sti(), this means that the caller can be preempted. If !use_eager_fpu() we can hit the WARN_ON_ONCE(!__thread_has_fpu(tsk)) and/or save the wrong FPU state. Change math_error() to use unlazy_fpu() and kill save_init_fpu(). Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Rik van Riel <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions