aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-common.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-06-04 17:54:12 +0000
committerBorislav Petkov <[email protected]>2019-06-13 18:57:49 +0000
commit8d3289f2fa1e0c7e2f72c7352f1efb75d2ad7c76 (patch)
treed785c183839b1f28213f9061a94a4462c9681483 /drivers/media/platform/vimc/vimc-common.c
parentx86/kgdb: Return 0 from kgdb_arch_set_breakpoint() (diff)
downloadkernel-8d3289f2fa1e0c7e2f72c7352f1efb75d2ad7c76.tar.gz
kernel-8d3289f2fa1e0c7e2f72c7352f1efb75d2ad7c76.zip
x86/fpu: Don't use current->mm to check for a kthread
current->mm can be non-NULL if a kthread calls use_mm(). Check for PF_KTHREAD instead to decide when to store user mode FP state. Fixes: 2722146eb784 ("x86/fpu: Remove fpu->initialized") Reported-by: Peter Zijlstra <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Sebastian Andrzej Siewior <[email protected]> Cc: Aubrey Li <[email protected]> Cc: Dave Hansen <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jann Horn <[email protected]> Cc: Nicolai Stange <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.c')
0 files changed, 0 insertions, 0 deletions