From: Vineet Gupta Date: Tue, 25 Jun 2013 09:01:47 +0000 (+0530) Subject: ARC: warn on improper stack unwind FDE entries X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=baadb8fd0c62540f2ffb2d0f12b8a47c7975562b;p=openwrt%2Fstaging%2Fblogic.git ARC: warn on improper stack unwind FDE entries Signed-off-by: Vineet Gupta --- 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; }