projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d699f
)
arc: do not export symbols in troubleshoot.c
author
Davidlohr Bueso
<
[email protected]
>
Thu, 16 Apr 2015 19:48:40 +0000
(12:48 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 17 Apr 2015 13:04:09 +0000
(09:04 -0400)
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 <
[email protected]
>
Acked-by: Vineet Gupta <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/arc/kernel/troubleshoot.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/troubleshoot.c
b/arch/arc/kernel/troubleshoot.c
index 1badf9b84b511076e780b9356ce9ce9e9960ef5d..e00a01879025ea4d55be8d404b80cf2d2e53c22b 100644
(file)
--- 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)
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;
char *path_nm = NULL;
@@
-77,7
+77,6
@@
void print_task_path_n_nm(struct task_struct *tsk, char *buf)
done:
pr_info("Path: %s\n", path_nm);
}
-EXPORT_SYMBOL(print_task_path_n_nm);
static void show_faulting_vma(unsigned long address, char *buf)
{