mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
parisc: irq: Make irq_stack_union static to avoid sparse warning
[ Upstream commit b1bef1388c ]
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8a2c2630e1
commit
655e9d209c
@@ -368,7 +368,7 @@ union irq_stack_union {
|
|||||||
volatile unsigned int lock[1];
|
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 },
|
.slock = { 1,1,1,1 },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user