Skip to contentSkip to conversation

powerpc: remote save_stack_trace_tsk_reliable export

PATCH Applied Joe Lawrence 3 participants 3 messages Mar 1, 2019 – Mar 4, 2019 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: remote save_stack_trace_tsk_reliable export

As tglx points out, there are no in-tree module users of save_stack_trace_tsk_reliable() and its x86 counterpart is not exported, so remove the powerpc symbol export.

---
 arch/powerpc/kernel/stacktrace.c | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/kernel/stacktrace.c +0 -1
index e2c50b55138f..42c587de21a9 100644
@@ -193,7 +193,6 @@ save_stack_trace_tsk_reliable(struct task_struct *tsk,
 	}
 	return 0;
 }
-EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
 #endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
 
 #if defined(CONFIG_PPC_BOOK3S_64) && defined(CONFIG_NMI_IPI)
Signature · 1 line
2.20.1
Acked-by on v1 1/1
#1 lore raw
Quoted 16 lines · Joe Lawrence

As tglx points out, there are no in-tree module users of save_stack_trace_tsk_reliable() and its x86 counterpart is not exported, so remove the powerpc symbol export.

---
 arch/powerpc/kernel/stacktrace.c | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/kernel/stacktrace.c +0 -0
index e2c50b55138f..42c587de21a9 100644

arch/powerpc/kernel/stacktrace.c save_stack_trace_tsk_reliable(struct task_struct *tsk, · line 198

Quoted 7 lines
arch/powerpc/kernel/stacktrace.c +0 -1
@@ -193,7 +193,6 @@ save_stack_trace_tsk_reliable(struct task_struct *tsk,
 	}
 	return 0;
 }
-EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
 #endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
 
 #if defined(CONFIG_PPC_BOOK3S_64) && defined(CONFIG_NMI_IPI)

Balbir Singh

#2 lore raw
In reply to Joe Lawrence
Quoted 7 lines · Joe Lawrence

As tglx points out, there are no in-tree module users of save_stack_trace_tsk_reliable() and its x86 counterpart is not exported, so remove the powerpc symbol export.

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/39070a96a1c2c502b2f77972ba8c2eba

cheers