diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/hexagon/kernel/traps.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/hexagon/kernel/traps.c')
| -rw-r--r-- | arch/hexagon/kernel/traps.c | 9 | 
1 files changed, 2 insertions, 7 deletions
| diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c index 2942a9204a9a..91ee04842c22 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -412,10 +412,6 @@ void do_trap0(struct pt_regs *regs)  	case TRAP_DEBUG:  		/* Trap0 0xdb is debug breakpoint */  		if (user_mode(regs)) { -			struct siginfo info; - -			info.si_signo = SIGTRAP; -			info.si_errno = 0;  			/*  			 * Some architecures add some per-thread state  			 * to distinguish between breakpoint traps and @@ -423,9 +419,8 @@ void do_trap0(struct pt_regs *regs)  			 * set the si_code value appropriately, or we  			 * may want to use a different trap0 flavor.  			 */ -			info.si_code = TRAP_BRKPT; -			info.si_addr = (void __user *) pt_elr(regs); -			force_sig_info(SIGTRAP, &info, current); +			force_sig_fault(SIGTRAP, TRAP_BRKPT, +					(void __user *) pt_elr(regs), current);  		} else {  #ifdef CONFIG_KGDB  			kgdb_handle_exception(pt_cause(regs), SIGTRAP, |