aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-25 05:01:47 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-06-27 05:07:59 -0400
commitbaadb8fd0c62540f2ffb2d0f12b8a47c7975562b (patch)
treef3c934c2eab9d8e0f71aa73a4df987c367e3a503 /arch/arc
parentce7599567e27eabc1003e35b6f05579268dafecd (diff)
ARC: warn on improper stack unwind FDE entries
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/kernel/unwind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
index a8d02223da44..e550b117ec4f 100644
--- a/arch/arc/kernel/unwind.c
+++ b/arch/arc/kernel/unwind.c
@@ -289,6 +289,8 @@ static void __init setup_unwind_table(struct unwind_table *table,
289 * instead of the initial loc addr 289 * instead of the initial loc addr
290 * return; 290 * return;
291 */ 291 */
292 WARN(1, "unwinder: FDE->initial_location NULL %p\n",
293 (const u8 *)(fde + 1) + *fde);
292 } 294 }
293 ++n; 295 ++n;
294 } 296 }