Skip to content

Commit b1bef13

Browse files
committed
parisc: irq: Make irq_stack_union static to avoid sparse warning
Signed-off-by: Helge Deller <deller@gmx.de>
1 parent b137b9d commit b1bef13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/parisc/kernel/irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ union irq_stack_union {
365365
volatile unsigned int lock[1];
366366
};
367367

368-
DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = {
368+
static DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = {
369369
.slock = { 1,1,1,1 },
370370
};
371371
#endif

0 commit comments

Comments
 (0)