Commit be2a7fce authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Linus Torvalds

arc: do not export symbols in troubleshoot.c

print_task_path_n_nm() is local to this file, its only user being
show_regs().  Mark the function static and avoid the EXPORT_SYMBOL.
Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Acked-by: default avatarVineet Gupta <vgupta@synoipsys.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 02d699f1
...@@ -52,7 +52,7 @@ static void show_callee_regs(struct callee_regs *cregs) ...@@ -52,7 +52,7 @@ static void show_callee_regs(struct callee_regs *cregs)
print_reg_file(&(cregs->r13), 13); print_reg_file(&(cregs->r13), 13);
} }
void print_task_path_n_nm(struct task_struct *tsk, char *buf) static void print_task_path_n_nm(struct task_struct *tsk, char *buf)
{ {
struct path path; struct path path;
char *path_nm = NULL; char *path_nm = NULL;
...@@ -77,7 +77,6 @@ void print_task_path_n_nm(struct task_struct *tsk, char *buf) ...@@ -77,7 +77,6 @@ void print_task_path_n_nm(struct task_struct *tsk, char *buf)
done: done:
pr_info("Path: %s\n", path_nm); pr_info("Path: %s\n", path_nm);
} }
EXPORT_SYMBOL(print_task_path_n_nm);
static void show_faulting_vma(unsigned long address, char *buf) static void show_faulting_vma(unsigned long address, char *buf)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment