]> git.baikalelectronics.ru Git - kernel.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>
Fri, 6 Oct 2023 12:56:51 +0000 (14:56 +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 b05055f3ba4b8aa406c3a0881bb65b5984ce51f7..9ddb2e3970589fc8d2dce0c603c65ac51206a431 100644 (file)
@@ -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