summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-31 22:36:12 +0200
committerHelge Deller <deller@gmx.de>2023-08-31 22:36:12 +0200
commitb1bef1388c427cdad7331a9c8eb4ebbbe5b954b0 (patch)
tree5f1f8e79f9c866af8cc264a0f4f1ec270b6984bf /arch
parentb137b9d60b8add5620a06c687a71ce18776730b0 (diff)
downloadlinux-b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0.tar.gz
linux-b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0.tar.bz2
linux-b1bef1388c427cdad7331a9c8eb4ebbbe5b954b0.zip
parisc: irq: Make irq_stack_union static to avoid sparse warning
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/irq.c2
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