]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
parisc: irq: Make irq_stack_union static to avoid sparse warning
authorHelge Deller <deller@gmx.de>
Thu, 31 Aug 2023 20:36:12 +0000 (22:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 19:43:39 +0000 (21:43 +0200)
[ Upstream commit b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0 ]

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/parisc/kernel/irq.c

index c152c30c2d06d0a5670f334f7542279ffe0419e8..11c1505775f87416026a50fdb7002c18710d0555 100644 (file)
@@ -392,7 +392,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