]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb565961b0e2c4bfe86ddeddd9f8f078bc70f6e85
tree0402fb86ad4746b810002bab622313d62d164463
parente7f65e3ef81b0e00742baa9458db2f9795d2f786
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