diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-04-16 15:48:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:09 -0400 |
commit | be2a7fce397d82b7dc3fdbc61fb0bdab118e65ca (patch) | |
tree | 2bc6b8725ca6f7a34ea1d5698501d10d1f90966e /arch/arc | |
parent | 02d699f1f464410d5753a034dd38c76a1a1647e0 (diff) |
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: Davidlohr Bueso <dbueso@suse.de>
Acked-by: Vineet Gupta <vgupta@synoipsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/kernel/troubleshoot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c index 1badf9b84b51..e00a01879025 100644 --- a/arch/arc/kernel/troubleshoot.c +++ b/arch/arc/kernel/troubleshoot.c | |||
@@ -52,7 +52,7 @@ static void show_callee_regs(struct callee_regs *cregs) | |||
52 | print_reg_file(&(cregs->r13), 13); | 52 | print_reg_file(&(cregs->r13), 13); |
53 | } | 53 | } |
54 | 54 | ||
55 | void print_task_path_n_nm(struct task_struct *tsk, char *buf) | 55 | static void print_task_path_n_nm(struct task_struct *tsk, char *buf) |
56 | { | 56 | { |
57 | struct path path; | 57 | struct path path; |
58 | char *path_nm = NULL; | 58 | char *path_nm = NULL; |
@@ -77,7 +77,6 @@ void print_task_path_n_nm(struct task_struct *tsk, char *buf) | |||
77 | done: | 77 | done: |
78 | pr_info("Path: %s\n", path_nm); | 78 | pr_info("Path: %s\n", path_nm); |
79 | } | 79 | } |
80 | EXPORT_SYMBOL(print_task_path_n_nm); | ||
81 | 80 | ||
82 | static void show_faulting_vma(unsigned long address, char *buf) | 81 | static void show_faulting_vma(unsigned long address, char *buf) |
83 | { | 82 | { |