]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/paravirt: Remove PARAVIRT_DEBUG config option
authorJuergen Gross <jgross@suse.com>
Mon, 5 Jan 2026 11:05:02 +0000 (12:05 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 12 Jan 2026 14:20:06 +0000 (15:20 +0100)
commitd73298f015341530da84b96d8310854af90dc425
treea03841a6c73864bec41b690a2c00e371e9b766c9
parente0b4904a401fad8593b85c698677dda95bec51a6
x86/paravirt: Remove PARAVIRT_DEBUG config option

The only effect of CONFIG_PARAVIRT_DEBUG set is that instead of doing a call
using a NULL pointer a BUG() is being raised.

While the BUG() will be a little bit easier to analyse, the call of NULL isn't
really that difficult to find the reason for.

Remove the config option to make paravirt coding a little bit less annoying.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260105110520.21356-4-jgross@suse.com
arch/x86/Kconfig
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h