diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2020-08-12 18:55:41 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2020-08-17 13:17:10 +0200 |
commit | 9eaba29c7985236e16468f4e6a49cc18cf01443e (patch) | |
tree | 30e7b6157f5803b4d766d2104a65c1f557e4c68d /arch/s390/kernel/audit.h | |
parent | b76fee1bc56c31a9d2a49592810eba30cc06d61a (diff) | |
download | linux-9eaba29c7985236e16468f4e6a49cc18cf01443e.tar.bz2 |
s390/runtime_instrumentation: fix storage key handling
The key member of the runtime instrumentation control block contains
only the access key, not the complete storage key. Therefore the value
must be shifted by four bits.
Note: this is only relevant for debugging purposes in case somebody
compiles a kernel with a default storage access key set to a value not
equal to zero.
Fixes: e4b8b3f33fca ("s390: add support for runtime instrumentation")
Reported-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/audit.h')
0 files changed, 0 insertions, 0 deletions