John David Anglin 9e5c602186 parisc: Use ldcw instruction for SMP spinlock release barrier
There are only a couple of instructions that can function as a memory
barrier on parisc.  Currently, we use the sync instruction as a memory
barrier when releasing a spinlock.  However, the ldcw instruction is a
better barrier when we have a handy memory location since it operates in
the cache on coherent machines.

This patch updates the spinlock release code to use ldcw.  I also
changed the "stw,ma" instructions to "stw" instructions as it is not an
adequate barrier.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
2019-05-03 23:47:40 +02:00
..
2018-10-20 21:10:26 +02:00
2019-05-03 23:47:40 +02:00
2019-05-03 23:47:38 +02:00
2019-05-03 23:47:39 +02:00
2019-05-03 23:47:39 +02:00
2018-05-02 21:47:35 +02:00
2017-11-17 15:27:22 +01:00
2019-05-03 23:47:39 +02:00