aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-06-25 14:31:47 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-06-27 14:37:59 +0530
commitbaadb8fd0c62540f2ffb2d0f12b8a47c7975562b (patch)
treef3c934c2eab9d8e0f71aa73a4df987c367e3a503 /arch/arc
parentarc: delete __cpuinit usage from all arc files (diff)
downloadlinux-dev-baadb8fd0c62540f2ffb2d0f12b8a47c7975562b.tar.xz
linux-dev-baadb8fd0c62540f2ffb2d0f12b8a47c7975562b.zip
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,
* instead of the initial loc addr
* return;
*/
+ WARN(1, "unwinder: FDE->initial_location NULL %p\n",
+ (const u8 *)(fde + 1) + *fde);
}
++n;
}