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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)