Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318958
b: refs/heads/master
c: 427f23c
h: refs/heads/master
v: v3
  • Loading branch information
Tkhai Kirill authored and David S. Miller committed Jul 26, 2012
1 parent 118c87c commit c57ab4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: a0ce3ba03f6bd49459c6c40a03faf10b23831c1b
refs/heads/master: 427f23cb3abc21c3784df8ae907c4c3a31d885d1
4 changes: 1 addition & 3 deletions trunk/arch/sparc/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,6 @@ int copy_thread(unsigned long clone_flags, unsigned long sp,
put_psr(get_psr() | PSR_EF);
fpsave(&p->thread.float_regs[0], &p->thread.fsr,
&p->thread.fpqueue[0], &p->thread.fpqdepth);
#ifdef CONFIG_SMP
clear_thread_flag(TIF_USEDFPU);
#endif
}

/*
Expand Down Expand Up @@ -413,6 +410,7 @@ int copy_thread(unsigned long clone_flags, unsigned long sp,
#ifdef CONFIG_SMP
/* FPU must be disabled on SMP. */
childregs->psr &= ~PSR_EF;
clear_tsk_thread_flag(p, TIF_USEDFPU);
#endif

/* Set the return value for the child. */
Expand Down

0 comments on commit c57ab4a

Please sign in to comment.