parisc: Static initialization of spinlocks in perf and unwind code
authorHelge Deller <deller@gmx.de>
Fri, 4 Aug 2017 21:54:19 +0000 (23:54 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 22 Aug 2017 14:34:33 +0000 (16:34 +0200)
commit76cffeb6ccace1ae487e58d8d72b4519861a9d9e
tree557a380f095683fd44932c51f0da4d20ef1a78bb
parent54ac8fcbd6e6777929235ac767467991005d2df3
parisc: Static initialization of spinlocks in perf and unwind code

While testing UBSAN I saw this BUG:
 BUG: spinlock bad magic on CPU#0, swapper/0
in unwind code. Let's avoid that by static initialization.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/perf.c
arch/parisc/kernel/unwind.c