diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-15 06:22:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-15 06:22:28 +0300 |
commit | d1f1f98c6d1708a90436e1a3b2aff5e93946731b (patch) | |
tree | ae685ee0f6253c4193228830230e5a45489a3c64 /net/9p/trans_common.h | |
parent | b3e1eb8e7ac9aaa283989496651d99267c4cad6c (diff) | |
download | linux-d1f1f98c6d1708a90436e1a3b2aff5e93946731b.tar.xz |
sparc64: Set %l4 properly on trap return after handling signals.
If we did some signal processing, we have to reload the pt_regs
tstate register because it's value may have changed.
In doing so we also have to extract the %pil value contained in there
anre load that into %l4.
This value is at bit 20 and thus needs to be shifted down before we
later write it into the %pil register.
Most of the time this is harmless as we are returning to userspace
and the %pil is zero for that case.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p/trans_common.h')
0 files changed, 0 insertions, 0 deletions