diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-27 19:22:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-27 19:22:47 -0500 |
commit | 847f9c606cad121cebf984639e3eeee1c4db82f8 (patch) | |
tree | ecd7aaef6cdfaf908d4d37db2e8f1951b490543a /arch/m68k/kernel/process.c | |
parent | 7981164791d18d5ed1dcdfa9598949ed158a5333 (diff) | |
parent | 00ebfe58b002f0ff387f60c7cd23bc2b274fce1a (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (24 commits)
m68k: Define sigcontext ABI of ColdFire
m68knommu: NPTL support for uClinux
m68k: Add NPTL support
m68k: Eliminate unused variable in page_to_phys()
m68k: Switch to generic siginfo layout
macfb: fix 24-bit visual and stuff
macfb: cleanup
fbdev: add some missing mac modes
mac68k: start CUDA early
valkyriefb: various fixes
fbdev: mac_var_to_mode() fix
mac68k: move macsonic and macmace platform devices
mac68k: move mac_esp platform device
mac68k: replace mac68k SCC code with platform device
pmac-zilog: add platform driver
pmac-zilog: cleanup
mac68k: rework SWIM platform device
mac68k: cleanup
ataflop: Killl warning about unused variable flags
m68k: Use DIV_ROUND_CLOSEST
...
Diffstat (limited to 'arch/m68k/kernel/process.c')
-rw-r--r-- | arch/m68k/kernel/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/kernel/process.c b/arch/m68k/kernel/process.c index 05296593e718..17c3f325255d 100644 --- a/arch/m68k/kernel/process.c +++ b/arch/m68k/kernel/process.c | |||
@@ -251,6 +251,10 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, | |||
251 | 251 | ||
252 | p->thread.usp = usp; | 252 | p->thread.usp = usp; |
253 | p->thread.ksp = (unsigned long)childstack; | 253 | p->thread.ksp = (unsigned long)childstack; |
254 | |||
255 | if (clone_flags & CLONE_SETTLS) | ||
256 | task_thread_info(p)->tp_value = regs->d5; | ||
257 | |||
254 | /* | 258 | /* |
255 | * Must save the current SFC/DFC value, NOT the value when | 259 | * Must save the current SFC/DFC value, NOT the value when |
256 | * the parent was last descheduled - RGH 10-08-96 | 260 | * the parent was last descheduled - RGH 10-08-96 |