]> Git Repo - linux.git/commit
signal/vm86_32: Replace open coded BUG_ON with an actual BUG_ON
authorEric W. Biederman <[email protected]>
Wed, 20 Oct 2021 17:43:55 +0000 (12:43 -0500)
committerEric W. Biederman <[email protected]>
Mon, 25 Oct 2021 20:56:29 +0000 (15:56 -0500)
commit1a4d21a23c4ca7467726be7db9ae8077a62b2c62
tree4ef9aa31d332a963ae21cb767429a429241bccef
parent984bd71fb32032ef395a895916853964166b322b
signal/vm86_32: Replace open coded BUG_ON with an actual BUG_ON

The function save_v86_state is only called when userspace was
operating in vm86 mode before entering the kernel.  Not having vm86
state in the task_struct should never happen.  So transform the hand
rolled BUG_ON into an actual BUG_ON to make it clear what is
happening.

Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: H Peter Anvin <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Eric W. Biederman <[email protected]>
arch/x86/kernel/vm86_32.c
This page took 0.044332 seconds and 4 git commands to generate.