From: Atsushi Nemoto Date: Tue, 7 Feb 2006 16:48:03 +0000 (+0900) Subject: [MIPS] Rewrite get_wchan and its helper functions using kallsyms_lookup. X-Git-Tag: v2.6.16-rc4~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63077519899721120b61d663a68adced068a459d;p=pandora-kernel.git [MIPS] Rewrite get_wchan and its helper functions using kallsyms_lookup. Implement get_wchan() and frame_info_init() using kallsyms_lookup(). This fixes problem with static sched/lock functions and mfinfo[] maintenance issue. If CONFIG_KALLSYMS was disabled, get_wchan() just returns thread_saved_pc() value. Also unwind stackframe based on "addiu sp,-imm" analysis instead of frame pointer. This fixes problem with functions compiled without -fomit-frame-pointer. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed