diff options
author | Vineet Gupta <vgupta@kernel.org> | 2020-05-21 17:44:32 -0700 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2023-08-18 10:30:47 -0700 |
commit | 58d9ceb7d9f56bd74b8e904e26511d27a4220827 (patch) | |
tree | 51b4c2267c5009b4edd694f008e03fa7140e164c /arch/arc/kernel/kgdb.c | |
parent | d4624bf6a6c9d9ff084eb2cba6d3cf6aeda9f974 (diff) |
ARC: pt_regs: create seperate type for ecr
Reduces duplication in each ISA specific pt_regs
Tested-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308151342.ROQ9Urvv-lkp@intel.com
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'arch/arc/kernel/kgdb.c')
-rw-r--r-- | arch/arc/kernel/kgdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/kgdb.c b/arch/arc/kernel/kgdb.c index 345a0000554c..4f2b5951454f 100644 --- a/arch/arc/kernel/kgdb.c +++ b/arch/arc/kernel/kgdb.c @@ -175,7 +175,7 @@ void kgdb_trap(struct pt_regs *regs) * with trap_s 4 (compiled) breakpoints, continuation needs to * start after the breakpoint. */ - if (regs->ecr_param == 3) + if (regs->ecr.param == 3) instruction_pointer(regs) -= BREAK_INSTR_SIZE; kgdb_handle_exception(1, SIGTRAP, 0, regs); |