]> git.baikalelectronics.ru Git - kernel.git/commit
s390: generate register offsets into pt_regs automatically
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 23 May 2022 12:42:40 +0000 (14:42 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 25 May 2022 09:46:02 +0000 (11:46 +0200)
commit25f86bb4c4bcdd6e345d3c8bf105b47c44b5ae60
tree2647fc1e135ec5e548cfd05a65b8f816ebe59728
parent337a741678c4d48cca56dd0f0e8c474ef243b72a
s390: generate register offsets into pt_regs automatically

Use asm offsets method to generate register offsets into pt_regs,
instead of open-coding at several places.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/earlypgm.S
arch/s390/kernel/entry.S