parisc: add spinlock to patch function
authorSven Schnelle <svens@stackframe.org>
Wed, 5 Jun 2019 20:32:18 +0000 (22:32 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 8 Jun 2019 10:56:26 +0000 (12:56 +0200)
commit7e923369b1ec92af5f048d2146b44f9132abe1ad
treee1ebdd4596415f23e2b008c9e5e6642b4b6995e1
parent4e87ace902cf0d401376cac89bb6a5239e57fe9f
parisc: add spinlock to patch function

If multiple CPUs are patching code we need the spinlock
to protect against parallel fixmap maps/unmap calls.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/patch.c