]> git.baikalelectronics.ru Git - kernel.git/commit
s390/traps: get rid of magic cast for per code
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 6 Mar 2022 09:59:05 +0000 (10:59 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Mar 2022 23:33:01 +0000 (00:33 +0100)
commitf884950b5d8f24eea97c12ffb6bb737bb6eaa20e
treeccc4df0bba7f90956a4996b112b4bd5b0a8ffae7
parentd8f65d2b210d96d2acda303e1e57ccdcbd4f18e8
s390/traps: get rid of magic cast for per code

Add a proper union in lowcore to reflect architecture and get rid of a
"magic" cast in order to read the full per code.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/lowcore.h
arch/s390/kernel/traps.c