[PATCH 0/3] Cleanup mce_notify_irq usage

From: Nikolay Borisov
Date: Tue Jan 14 2025 - 11:37:43 EST



Here are 3 small patches that result in mce_notify_irq becoming private to core.c
and unexporting it. I have one pending question that I've put under the scissor
line in Patch 3. But overall they are pretty self-explanatory and obvious.

Nikolay Borisov (3):
x86/mce/inject: Remova call to mce_notify_irq()
x86/mce: Make mce_notify_irq() static
x86/mce: Make mce_notify_irq() depend on CONFIG_X86_MCELOG_LEGACY

arch/x86/include/asm/mce.h | 2 --
arch/x86/kernel/cpu/mce/core.c | 44 +++++++++++++++++---------------
arch/x86/kernel/cpu/mce/inject.c | 1 -
3 files changed, 23 insertions(+), 24 deletions(-)

--
2.43.0