Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144142
b: refs/heads/master
c: 6714fcc
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Apr 23, 2009
1 parent 5c74bbf commit d86b129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e1c4bd0897b6d03eff4b32197d6ab017f83fc836
refs/heads/master: 6714fcc34e1bcf247fe542ebdea36b699ff8e2b8
5 changes: 1 addition & 4 deletions trunk/arch/microblaze/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ static void kernel_thread_helper(int (*fn)(void *), void *arg)
int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
{
struct pt_regs regs;
int ret;

memset(&regs, 0, sizeof(regs));
/* store them in non-volatile registers */
Expand All @@ -171,10 +170,8 @@ int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
regs.pc = (unsigned long)kernel_thread_helper;
regs.pt_mode = 1;

ret = do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
&regs, 0, NULL, NULL);

return ret;
}

unsigned long get_wchan(struct task_struct *p)
Expand Down

0 comments on commit d86b129

Please sign in to comment.