diff options
author | Anton Blanchard <anton@samba.org> | 2012-09-03 16:49:47 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-05 16:05:21 +1000 |
commit | 1021cb268b3025573c4811f1dee4a11260c4507b (patch) | |
tree | 54fee24502e5c8ce2f0a96ef1b5fd62bef2dfc73 /fs/adfs | |
parent | 00ca0de02f80924dfff6b4f630e1dff3db005e35 (diff) | |
download | kernel_goldelico_gta04-1021cb268b3025573c4811f1dee4a11260c4507b.zip kernel_goldelico_gta04-1021cb268b3025573c4811f1dee4a11260c4507b.tar.gz kernel_goldelico_gta04-1021cb268b3025573c4811f1dee4a11260c4507b.tar.bz2 |
powerpc: Fix DSCR inheritance in copy_thread()
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>
Cc: <stable@kernel.org> # 3.0+
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions