Re: [PATCH] x86/irq: fix [-Wvisibility] warnings

From: Thomas Gleixner
Date: Thu Jan 25 2024 - 13:36:49 EST


On Tue, Jan 09 2024 at 14:10, Tudor Ambarus wrote:
>
> #include <asm/apicdef.h>
> #include <asm/irq_vectors.h>
> +#include <linux/cpumask.h>

Why does this need the include?

> 44 | void arch_trigger_cpumask_backtrace(const struct cpumask *mask,

That's a pointer so a simple forward declaration should work, no?

Thanks,

tglx