diff options
author | Helge Deller <deller@gmx.de> | 2023-08-31 23:36:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-06 15:56:51 +0300 |
commit | 655e9d209c0604d9559697c3cb8014e3ca7c0d9e (patch) | |
tree | 32fafbe22b033fe11e7cf9827a44d363e0502f12 | |
parent | 8a2c2630e18dc43ceb6de1137bb7042d250b1bfd (diff) | |
download | linux-655e9d209c0604d9559697c3cb8014e3ca7c0d9e.tar.xz |
parisc: irq: Make irq_stack_union static to avoid sparse warning
[ Upstream commit b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0 ]
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | arch/parisc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index b05055f3ba4b..9ddb2e397058 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -368,7 +368,7 @@ union irq_stack_union { volatile unsigned int lock[1]; }; -DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = { +static DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = { .slock = { 1,1,1,1 }, }; #endif |