summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-03-29 16:20:40 +0300
committerIngo Molnar <mingo@kernel.org>2024-03-29 16:24:50 +0300
commit5ca28d24aecd0809d93da2ea73a4f6e4b2ccfa78 (patch)
tree25dba28618eff62161da778373116378b0a6905d /arch/x86/kernel
parent5d31174f3c8c465d9dbe88f6b9d1fe5716f44981 (diff)
downloadlinux-5ca28d24aecd0809d93da2ea73a4f6e4b2ccfa78.tar.xz
x86/vm86: Make sure the free_vm86(task) definition uses its parameter even in the !CONFIG_VM86 case
I ran into a case in new code where free_vm86(task) was the only consumer of the 'task' variable: arch/x86/kernel/process.c: In function ‘exit_thread’: arch/x86/kernel/process.c:118:31: error: unused variable ‘t’ [-Werror=unused-variable] Robustify the definition in the !CONFIG_VM86 case. Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/ZgaFfyHMOdLHEKm+@gmail.com
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions