diff options
author | Helge Deller <deller@gmx.de> | 2023-08-31 23:36:12 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-08-31 23:36:12 +0300 |
commit | b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0 (patch) | |
tree | 5f1f8e79f9c866af8cc264a0f4f1ec270b6984bf | |
parent | b137b9d60b8add5620a06c687a71ce18776730b0 (diff) | |
download | linux-b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0.tar.xz |
parisc: irq: Make irq_stack_union static to avoid sparse warning
Signed-off-by: Helge Deller <deller@gmx.de>
-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 12c4d4104ade..2f81bfd4f15e 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -365,7 +365,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 |