Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340262
b: refs/heads/master
c: c4aee36
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Oct 14, 2012
1 parent 6d02b6f commit 8c1d7f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: a8b8f6625075c673e21ef9bb418a31b0858472b0
refs/heads/master: c4aee363af2a81f9726c5fa13e136ebaf02852bd
9 changes: 0 additions & 9 deletions trunk/arch/ia64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,15 +401,6 @@ copy_thread(unsigned long clone_flags,
struct pt_regs *child_ptregs;
int retval = 0;

#ifdef CONFIG_SMP
/*
* For SMP idle threads, fork_by_hand() calls do_fork with
* NULL regs.
*/
if (!regs)
return 0;
#endif

stack = ((struct switch_stack *) regs) - 1;

child_ptregs = (struct pt_regs *) ((unsigned long) p + IA64_STK_OFFSET) - 1;
Expand Down

0 comments on commit 8c1d7f0

Please sign in to comment.