summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2019-05-27 20:15:14 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 12:24:13 +0200
commitcf30c19534676189ba7aa84fe78780a1030d78ca (patch)
treeb31a9d91fd2ba47b377e3524bfb306c0b26ec5bb /include/linux
parentf0d1e74c8120fe0a682a1caacca47333d95ba043 (diff)
parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
commit 63923d2c3800919774f5c651d503d1dd2adaddd5 upstream. We only support I/O to kernel space. Using %sr1 to load the coherence index may be racy unless interrupts are disabled. This patch changes the code used to load the coherence index to use implicit space register selection. This saves one instruction and eliminates the race. Tested on rp3440, c8000 and c3750. Signed-off-by: John David Anglin <dave.anglin@bell.net> Cc: stable@vger.kernel.org Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions