commit | df2ffeda6370a77011902e7c9d7a1eb1cbffed4f | [log] [tgz] |
---|---|---|
author | John David Anglin <dave.anglin@bell.net> | Fri Nov 19 22:18:47 2021 +0100 |
committer | Helge Deller <deller@gmx.de> | Mon Nov 22 07:37:31 2021 +0100 |
tree | c60a4592b2f2ae3cb7f4d11cb7877a485db517ec | |
parent | 169d1a4a2adb2c246396c56aa2f9eec3868546f1 [diff] |
parisc: Fix extraction of hash lock bits in syscall.S The extru instruction leaves the most significant 32 bits of the target register in an undefined state on PA 2.0 systems. If any of these bits are nonzero, this will break the calculation of the lock pointer. Fix by using extrd,u instruction via extru_safe macro on 64-bit kernels. Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>