Commit 97ab3682 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: _switch_to -> __switch_to

parent a18c494e
......@@ -75,7 +75,7 @@ dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
}
void
_switch_to(struct task_struct *prev, struct task_struct *new)
__switch_to(struct task_struct *prev, struct task_struct *new)
{
struct thread_struct *new_thread, *old_thread;
unsigned long flags;
......
......@@ -85,9 +85,8 @@ extern void cvt_df(double *from, float *to, unsigned long *fpscr);
extern int abs(int);
struct task_struct;
#define prepare_to_switch() do { } while(0)
#define switch_to(prev,next,last) _switch_to((prev),(next))
extern void _switch_to(struct task_struct *, struct task_struct *);
extern void __switch_to(struct task_struct *, struct task_struct *);
#define switch_to(prev, next, last) __switch_to((prev), (next))
#define prepare_arch_schedule(prev) do { } while(0)
#define finish_arch_schedule(prev) do { } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment