From: Richard Kuo <rkuo@codeaurora.org> Date: Mon, 8 Dec 2014 21:36:20 +0000 (-0600) Subject: Hexagon: fix signal delivery for debug traps X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8914d7e857807e1e60975000cba3750c9b2643e8;p=openwrt%2Fstaging%2Fblogic.git Hexagon: fix signal delivery for debug traps Signed-off-by: Richard Kuo <rkuo@codeaurora.org> --- diff --git a/arch/hexagon/kernel/traps.c b/arch/hexagon/kernel/traps.c index 7858663352b9..110dab152f82 100644 --- a/arch/hexagon/kernel/traps.c +++ b/arch/hexagon/kernel/traps.c @@ -1,7 +1,7 @@ /* * Kernel traps/events for Hexagon processor * - * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. + * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -423,7 +423,7 @@ void do_trap0(struct pt_regs *regs) */ info.si_code = TRAP_BRKPT; info.si_addr = (void __user *) pt_elr(regs); - send_sig_info(SIGTRAP, &info, current); + force_sig_info(SIGTRAP, &info, current); } else { #ifdef CONFIG_KGDB kgdb_handle_exception(pt_cause(regs), SIGTRAP,