mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
x86/apic: Use str_disabled_enabled() helper in print_ipi_mode()
Remove hard-coded strings by using the str_disabled_enabled() helper. No change in functionality intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20250209210333.5666-2-thorsten.blum@linux.dev
This commit is contained in:
parent
0ad2507d5d
commit
0156338a18
|
|
@ -3,6 +3,7 @@
|
|||
#include <linux/cpumask.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/smp.h>
|
||||
#include <linux/string_choices.h>
|
||||
|
||||
#include <asm/io_apic.h>
|
||||
|
||||
|
|
@ -23,7 +24,7 @@ __setup("no_ipi_broadcast=", apic_ipi_shorthand);
|
|||
static int __init print_ipi_mode(void)
|
||||
{
|
||||
pr_info("IPI shorthand broadcast: %s\n",
|
||||
apic_ipi_shorthand_off ? "disabled" : "enabled");
|
||||
str_disabled_enabled(apic_ipi_shorthand_off));
|
||||
return 0;
|
||||
}
|
||||
late_initcall(print_ipi_mode);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user