summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2016-09-20 20:29:40 +0200
committerIngo Molnar <mingo@kernel.org>2016-09-30 11:03:27 +0200
commita458ae2ea616420f74480f0f5ed67ca0f3b5dbf7 (patch)
tree871835cfd8e5ab67d47d46f865e1d0c49d3f0a66 /include/linux/sched.h
parenta399d233078edbba7cf7902a6d080100cdf75636 (diff)
downloadlwn-a458ae2ea616420f74480f0f5ed67ca0f3b5dbf7.tar.gz
lwn-a458ae2ea616420f74480f0f5ed67ca0f3b5dbf7.zip
sched/core, ia64: Rename set_curr_task()
Rename the ia64 only set_curr_task() function to free up the name. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tony Luck <tony.luck@intel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 2c30ed860d66..ad51978ff15e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2581,7 +2581,7 @@ static inline bool is_idle_task(const struct task_struct *p)
return p->pid == 0;
}
extern struct task_struct *curr_task(int cpu);
-extern void set_curr_task(int cpu, struct task_struct *p);
+extern void ia64_set_curr_task(int cpu, struct task_struct *p);
void yield(void);