From: Paul Mundt Date: Fri, 21 Aug 2009 18:43:15 +0000 (+0900) Subject: sh: Export unwind_stack() to satisfy modular oprofile. X-Git-Tag: firefly_0821_release~12920^2~35^2~19^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4ab8f241f6d510470c15b62ac10f6905ff5c97bd;p=firefly-linux-kernel-4.4.55.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);