mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +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
b7e376a26b
commit
ada7fcba2d
@@ -386,7 +386,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