x86/mce: Rename kill_it to kill_current_task
authorGabriele Paoloni <gabriele.paoloni@intel.com>
Fri, 27 Nov 2020 16:18:19 +0000 (16:18 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 1 Dec 2020 17:58:50 +0000 (18:58 +0100)
commite1c06d2366e743475b91045ef0c2ce1bbd028cb6
treed1eaaa1039d809482867f054766e2630caf3472c
parentd5b38e3d0fdb1a16994b449bc338fb8b26816b07
x86/mce: Rename kill_it to kill_current_task

Currently, if an MCE happens in user-mode or while the kernel is copying
data from user space, 'kill_it' is used to check if execution of the
interrupted task can be recovered or not; the flag name however is not
very meaningful, hence rename it to match its goal.

 [ bp: Massage commit message, rename the queue_task_work() arg too. ]

Signed-off-by: Gabriele Paoloni <gabriele.paoloni@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201127161819.3106432-6-gabriele.paoloni@intel.com
arch/x86/kernel/cpu/mce/core.c