From: Paul Mundt Date: Fri, 21 Aug 2009 18:43:15 +0000 (+0900) Subject: sh: Export unwind_stack() to satisfy modular oprofile. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4ab8f241f6d510470c15b62ac10f6905ff5c97bd;p=linux-beck.git sh: Export unwind_stack() to satisfy modular oprofile. If the oprofile code is built as a module, unwind_stack() as used by the oprofile backtrace code is not available, causing build breakage. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/unwinder.c b/arch/sh/kernel/unwinder.c index 2b30fa28b440..5f56ff3f55e0 100644 --- a/arch/sh/kernel/unwinder.c +++ b/arch/sh/kernel/unwinder.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -160,3 +161,4 @@ void unwind_stack(struct task_struct *task, struct pt_regs *regs, atomic_dec(&unwinder_running); } +EXPORT_SYMBOL_GPL(unwind_stack);