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 12c4d4104ade4a6fbb9504cd5a7ad5e06083f587..2f81bfd4f15e17bc0b0ec3fd1b524e571c2924ed 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