aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-09-03 16:49:47 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-14 10:00:49 -0700
commit52640dfe68118991369cae14e7877caa2e8ef7a7 (patch)
tree0fb678691cb4e0cfa4c6b5b29ced00bcc204283e /arch/powerpc/kernel/entry_64.S
parent52340b63f6cf9f21051a8f91f42d8ca97415bd1a (diff)
downloadkernel_samsung_smdk4412-52640dfe68118991369cae14e7877caa2e8ef7a7.zip
kernel_samsung_smdk4412-52640dfe68118991369cae14e7877caa2e8ef7a7.tar.gz
kernel_samsung_smdk4412-52640dfe68118991369cae14e7877caa2e8ef7a7.tar.bz2
powerpc: Fix DSCR inheritance in copy_thread()
commit 1021cb268b3025573c4811f1dee4a11260c4507b upstream. If the default DSCR is non zero we set thread.dscr_inherit in copy_thread() meaning the new thread and all its children will ignore future updates to the default DSCR. This is not intended and is a change in behaviour that a number of our users have hit. We just need to inherit thread.dscr and thread.dscr_inherit from the parent which ends up being much simpler. This was found with the following test case: http://ozlabs.org/~anton/junkcode/dscr_default_test.c Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
0 files changed, 0 insertions, 0 deletions