mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
sparc/irq: Use str_enabled_disabled() helper function
Remove hard-coded strings by using the str_enabled_disabled() helper function. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/r/20250115090344.918290-2-thorsten.blum@linux.dev Signed-off-by: Andreas Larsson <andreas@gaisler.com>
This commit is contained in:
parent
f4ab186830
commit
4b9f0bdc20
|
|
@ -22,6 +22,7 @@
|
|||
#include <linux/seq_file.h>
|
||||
#include <linux/ftrace.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/string_choices.h>
|
||||
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
@ -170,7 +171,7 @@ static void __init irq_init_hv(void)
|
|||
|
||||
pr_info("SUN4V: Using IRQ API major %d, cookie only virqs %s\n",
|
||||
hv_irq_version,
|
||||
sun4v_cookie_only_virqs() ? "enabled" : "disabled");
|
||||
str_enabled_disabled(sun4v_cookie_only_virqs()));
|
||||
}
|
||||
|
||||
/* This function is for the timer interrupt.*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user