diff options
Diffstat (limited to 'arch/microblaze/kernel/process.c')
-rw-r--r-- | arch/microblaze/kernel/process.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index e92a817e645f..6527ec22f158 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
@@ -119,23 +119,6 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, | |||
119 | return 0; | 119 | return 0; |
120 | } | 120 | } |
121 | 121 | ||
122 | #ifndef CONFIG_MMU | ||
123 | /* | ||
124 | * Return saved PC of a blocked thread. | ||
125 | */ | ||
126 | unsigned long thread_saved_pc(struct task_struct *tsk) | ||
127 | { | ||
128 | struct cpu_context *ctx = | ||
129 | &(((struct thread_info *)(tsk->stack))->cpu_context); | ||
130 | |||
131 | /* Check whether the thread is blocked in resume() */ | ||
132 | if (in_sched_functions(ctx->r15)) | ||
133 | return (unsigned long)ctx->r15; | ||
134 | else | ||
135 | return ctx->r14; | ||
136 | } | ||
137 | #endif | ||
138 | |||
139 | unsigned long get_wchan(struct task_struct *p) | 122 | unsigned long get_wchan(struct task_struct *p) |
140 | { | 123 | { |
141 | /* TBD (used by procfs) */ | 124 | /* TBD (used by procfs) */ |