projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b137b9d
)
parisc: irq: Make irq_stack_union static to avoid sparse warning
author
Helge Deller
<deller@gmx.de>
Thu, 31 Aug 2023 20:36:12 +0000
(22:36 +0200)
committer
Helge Deller
<deller@gmx.de>
Thu, 31 Aug 2023 20:36:12 +0000
(22:36 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/irq.c
b/arch/parisc/kernel/irq.c
index
12c4d41
..
2f81bfd
100644
(file)
--- 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