microblaze: Move start_thread to process.c
This change is due to upcomming MMU merge Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
@@ -182,3 +182,12 @@ unsigned long get_wchan(struct task_struct *p)
|
||||
/* TBD (used by procfs) */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Set up a thread for executing a new program */
|
||||
void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp)
|
||||
{
|
||||
set_fs(USER_DS);
|
||||
regs->pc = pc;
|
||||
regs->r1 = usp;
|
||||
regs->pt_mode = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user