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) ...@@ -75,7 +75,7 @@ dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpregs)
} }
void 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; struct thread_struct *new_thread, *old_thread;
unsigned long flags; unsigned long flags;
......
...@@ -85,9 +85,8 @@ extern void cvt_df(double *from, float *to, unsigned long *fpscr); ...@@ -85,9 +85,8 @@ extern void cvt_df(double *from, float *to, unsigned long *fpscr);
extern int abs(int); extern int abs(int);
struct task_struct; struct task_struct;
#define prepare_to_switch() do { } while(0) extern void __switch_to(struct task_struct *, struct task_struct *);
#define switch_to(prev,next,last) _switch_to((prev),(next)) #define switch_to(prev, next, last) __switch_to((prev), (next))
extern void _switch_to(struct task_struct *, struct task_struct *);
#define prepare_arch_schedule(prev) do { } while(0) #define prepare_arch_schedule(prev) do { } while(0)
#define finish_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