mbox series

[0/2] xtensa: fix pt_regs to cover user exception frame

Message ID 20220306064435.256328-1-jcmvbkbc@gmail.com (mailing list archive)
Headers show
Series xtensa: fix pt_regs to cover user exception frame | expand

Message

Max Filippov March 6, 2022, 6:44 a.m. UTC
Hello,

this series updates xtensa struct pt_regs so that it covers the whole
user exception frame fixing kernel build issue visible in the current
linux-next.

Max Filippov (2):
  xtensa: rename PT_SIZE to PT_KERNEL_SIZE
  xtensa: use XCHAL_NUM_AREGS as pt_regs::areg size

 arch/xtensa/include/asm/ptrace.h |  7 +++----
 arch/xtensa/kernel/asm-offsets.c |  2 +-
 arch/xtensa/kernel/entry.S       | 14 +++++++-------
 arch/xtensa/kernel/process.c     | 10 ----------
 arch/xtensa/kernel/vectors.S     |  4 ++--
 5 files changed, 13 insertions(+), 24 deletions(-)