s390/traps: get rid of magic cast for program interruption code
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 6 Mar 2022 10:15:27 +0000 (11:15 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Mar 2022 23:33:01 +0000 (00:33 +0100)
commit52b739e2780c7a15e5be06f1691d92ba5f962f79
tree0402fb86ad4746b810002bab622313d62d164463
parent0ecf337fa2e4a6d1f35d7fbb9efb7ca0069a1683
s390/traps: get rid of magic cast for program interruption code

Add a proper union in lowcore to reflect architecture and get rid of a
"magic" cast in order to read the full program interruption 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