* [PATCH] arc: kernel: export symbol for save_stack_trace() in stacktrace.c
@ 2013-10-28 3:00 Chen Gang
2013-10-28 14:06 ` Vineet Gupta
0 siblings, 1 reply; 3+ messages in thread
From: Chen Gang @ 2013-10-28 3:00 UTC (permalink / raw)
To: vgupta
Cc: Andrew Morton, David Miller, Richard Kuo, Jesper Nilsson, linux-kernel
Need export its symbol just like other architectures done, or can not
pass compiling with allmodconfig, the related error:
MODPOST 2994 modules
ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
ERROR: "save_stack_trace" [drivers/md/persistent-data/dm-persistent-data.ko] undefined!
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
arch/arc/kernel/stacktrace.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arc/kernel/stacktrace.c b/arch/arc/kernel/stacktrace.c
index f8b7d88..607c6e4 100644
--- a/arch/arc/kernel/stacktrace.c
+++ b/arch/arc/kernel/stacktrace.c
@@ -244,4 +244,5 @@ void save_stack_trace(struct stack_trace *trace)
{
arc_unwind_core(current, NULL, __collect_all, trace);
}
+EXPORT_SYMBOL_GPL(save_stack_trace);
#endif
--
1.7.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arc: kernel: export symbol for save_stack_trace() in stacktrace.c
2013-10-28 3:00 [PATCH] arc: kernel: export symbol for save_stack_trace() in stacktrace.c Chen Gang
@ 2013-10-28 14:06 ` Vineet Gupta
2013-10-29 1:09 ` Chen Gang
0 siblings, 1 reply; 3+ messages in thread
From: Vineet Gupta @ 2013-10-28 14:06 UTC (permalink / raw)
To: Chen Gang; +Cc: Andrew Morton, linux-kernel
On 10/28/2013 08:30 AM, Chen Gang wrote:
> Need export its symbol just like other architectures done, or can not
> pass compiling with allmodconfig, the related error:
>
> MODPOST 2994 modules
> ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
> ERROR: "save_stack_trace" [drivers/md/persistent-data/dm-persistent-data.ko] undefined!
>
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
Applied for 3.13
Thx,
-Vineet
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arc: kernel: export symbol for save_stack_trace() in stacktrace.c
2013-10-28 14:06 ` Vineet Gupta
@ 2013-10-29 1:09 ` Chen Gang
0 siblings, 0 replies; 3+ messages in thread
From: Chen Gang @ 2013-10-29 1:09 UTC (permalink / raw)
To: Vineet Gupta; +Cc: Andrew Morton, linux-kernel
On 10/28/2013 10:06 PM, Vineet Gupta wrote:
> On 10/28/2013 08:30 AM, Chen Gang wrote:
>> Need export its symbol just like other architectures done, or can not
>> pass compiling with allmodconfig, the related error:
>>
>> MODPOST 2994 modules
>> ERROR: "save_stack_trace" [kernel/backtracetest.ko] undefined!
>> ERROR: "save_stack_trace" [drivers/md/persistent-data/dm-persistent-data.ko] undefined!
>>
>>
>> Signed-off-by: Chen Gang <gang.chen@asianux.com>
>
> Applied for 3.13
>
Thanks.
--
Chen Gang
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-29 1:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-28 3:00 [PATCH] arc: kernel: export symbol for save_stack_trace() in stacktrace.c Chen Gang
2013-10-28 14:06 ` Vineet Gupta
2013-10-29 1:09 ` Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).