diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2014-12-08 16:36:20 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2014-12-16 14:27:39 -0500 |
commit | 8914d7e857807e1e60975000cba3750c9b2643e8 (patch) | |
tree | a0c14e24d18830da24f517b84878d8506c1f8f0f /arch/hexagon | |
parent | ea0f1b92150fb368d26e38c0a0e9ab244b95be03 (diff) |
Hexagon: fix signal delivery for debug traps
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r-- | arch/hexagon/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* | 1 | /* |
2 | * Kernel traps/events for Hexagon processor | 2 | * Kernel traps/events for Hexagon processor |
3 | * | 3 | * |
4 | * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. | 4 | * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License version 2 and | 7 | * it under the terms of the GNU General Public License version 2 and |
@@ -423,7 +423,7 @@ void do_trap0(struct pt_regs *regs) | |||
423 | */ | 423 | */ |
424 | info.si_code = TRAP_BRKPT; | 424 | info.si_code = TRAP_BRKPT; |
425 | info.si_addr = (void __user *) pt_elr(regs); | 425 | info.si_addr = (void __user *) pt_elr(regs); |
426 | send_sig_info(SIGTRAP, &info, current); | 426 | force_sig_info(SIGTRAP, &info, current); |
427 | } else { | 427 | } else { |
428 | #ifdef CONFIG_KGDB | 428 | #ifdef CONFIG_KGDB |
429 | kgdb_handle_exception(pt_cause(regs), SIGTRAP, | 429 | kgdb_handle_exception(pt_cause(regs), SIGTRAP, |