diff options
| author | Helge Deller <deller@gmx.de> | 2023-08-31 22:36:12 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-06 14:56:51 +0200 |
| commit | 655e9d209c0604d9559697c3cb8014e3ca7c0d9e (patch) | |
| tree | 32fafbe22b033fe11e7cf9827a44d363e0502f12 /arch/parisc/kernel | |
| parent | 8a2c2630e18dc43ceb6de1137bb7042d250b1bfd (diff) | |
| download | linux-655e9d209c0604d9559697c3cb8014e3ca7c0d9e.tar.gz linux-655e9d209c0604d9559697c3cb8014e3ca7c0d9e.tar.bz2 linux-655e9d209c0604d9559697c3cb8014e3ca7c0d9e.zip | |
parisc: irq: Make irq_stack_union static to avoid sparse warning
[ Upstream commit b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0 ]
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/parisc/kernel')
| -rw-r--r-- | arch/parisc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index b05055f3ba4b..9ddb2e397058 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -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 |
