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)
committerHelge Deller <deller@gmx.de>
Thu, 31 Aug 2023 20:36:12 +0000 (22:36 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/irq.c

index 12c4d41..2f81bfd 100644 (file)
@@ -365,7 +365,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