]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arc: do not export symbols in troubleshoot.c
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 16 Apr 2015 19:48:40 +0000 (12:48 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 2 May 2019 20:41:24 +0000 (21:41 +0100)
commit1652b06917d7ed6fcdf9a705afa7f8788060bedd
tree2accb7cd374825d64531cf06fdbd3ca823deaeb1
parent8bd5ee2816e8661ea286746242c0098d50d27f52
arc: do not export symbols in troubleshoot.c

commit be2a7fce397d82b7dc3fdbc61fb0bdab118e65ca upstream.

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>
[bwh: Backported to 3.16 as dependency of commit ab6c03676cb1
 "ARC: show_regs: lockdep: avoid page allocator..."]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arc/kernel/troubleshoot.c