diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-09-18 14:35:44 +0300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2018-01-21 03:58:36 +0300 |
commit | 16dc17ee61ec3c16643fea675715cb3845d94735 (patch) | |
tree | df0d1e590ead2525f85aec775228ee2e2c6d6ced /arch/alpha/kernel/process.c | |
parent | 77e5bff1640432f28794a00800955e646dcd7455 (diff) | |
download | linux-16dc17ee61ec3c16643fea675715cb3845d94735.tar.xz |
alpha: make thread_saved_pc static
The only user of thread_saved_pc() in non-arch-specific code was removed
in commit 8243d5597793 ("sched/core: Remove pointless printout in
sched_show_task()"), so it no longer needs to be globally defined for
Alpha and can be made static.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/process.c')
-rw-r--r-- | arch/alpha/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index 74bfb1f2d68e..3af7db471029 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c @@ -361,7 +361,7 @@ EXPORT_SYMBOL(dump_elf_task_fp); * all. -- r~ */ -unsigned long +static unsigned long thread_saved_pc(struct task_struct *t) { unsigned long base = (unsigned long)task_stack_page(t); |