summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-09-18 13:35:44 +0200
committerMatt Turner <mattst88@gmail.com>2018-01-21 01:58:36 +0100
commit16dc17ee61ec3c16643fea675715cb3845d94735 (patch)
treedf0d1e590ead2525f85aec775228ee2e2c6d6ced /arch/alpha/include/asm
parentalpha: make XTABS equivalent to TAB3 (diff)
downloadlinux-16dc17ee61ec3c16643fea675715cb3845d94735.tar.xz
linux-16dc17ee61ec3c16643fea675715cb3845d94735.zip
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/include/asm')
-rw-r--r--arch/alpha/include/asm/processor.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/alpha/include/asm/processor.h b/arch/alpha/include/asm/processor.h
index bfe784f2d4af..cb05d045efe3 100644
--- a/arch/alpha/include/asm/processor.h
+++ b/arch/alpha/include/asm/processor.h
@@ -40,15 +40,12 @@ typedef struct {
struct thread_struct { };
#define INIT_THREAD { }
-/* Return saved PC of a blocked thread. */
-struct task_struct;
-extern unsigned long thread_saved_pc(struct task_struct *);
-
/* Do necessary setup to start up a newly executed thread. */
struct pt_regs;
extern void start_thread(struct pt_regs *, unsigned long, unsigned long);
/* Free all resources held by a thread. */
+struct task_struct;
extern void release_thread(struct task_struct *);
unsigned long get_wchan(struct task_struct *p);