Skip to content

Commit

Permalink
parisc: irq: Make irq_stack_union static to avoid sparse warning
Browse files Browse the repository at this point in the history
[ Upstream commit b1bef13 ]

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
hdeller authored and gregkh committed Oct 6, 2023
1 parent 8a2c263 commit 655e9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 655e9d2

Please sign in to comment.