diff options
author | Helge Deller <deller@gmx.de> | 2023-08-31 22:36:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-10 21:44:58 +0200 |
commit | b068b4e0cc8e09ebfb43f335f27c51a831a9de50 (patch) | |
tree | d290f2a6fc72b44ea559ef9ed183fd455f22125a /arch | |
parent | c10f7595af65f5481b932daf8bd6998cdffd0ff7 (diff) | |
download | linux-stable-b068b4e0cc8e09ebfb43f335f27c51a831a9de50.tar.gz linux-stable-b068b4e0cc8e09ebfb43f335f27c51a831a9de50.tar.bz2 linux-stable-b068b4e0cc8e09ebfb43f335f27c51a831a9de50.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')
-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 c152c30c2d06..11c1505775f8 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -392,7 +392,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 |