Anton Blanchard db1231dcdb powerpc: Fix DSCR inheritance over fork()
Two DSCR tests have a hack in them:

	/*
	 * XXX: Force a context switch out so that DSCR
	 * current value is copied into the thread struct
	 * which is required for the child to inherit the
	 * changed value.
	 */
	sleep(1);

We should not be working around this in the testcase, it is a kernel bug.
Fix it by copying the current DSCR to the child, instead of what we
had in the thread struct at last context switch.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-12-10 21:11:13 +11:00
..
2015-09-10 16:42:49 -07:00
2014-11-27 09:32:58 +11:00
2014-12-11 17:48:14 -08:00
2014-08-13 15:13:42 +10:00
2014-09-25 23:14:46 +10:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2015-08-06 15:10:20 +10:00
2011-03-31 11:26:23 -03:00
2015-10-27 18:13:30 -05:00
2015-03-24 13:15:52 +11:00
2014-12-11 17:48:14 -08:00
2015-09-08 14:35:59 -07:00
2011-03-31 11:26:23 -03:00
2014-09-25 23:14:41 +10:00
2014-08-06 13:04:32 +02:00
2011-03-31 11:26:23 -03:00
2015-12-02 19:34:40 +11:00
2015-04-07 17:15:13 +10:00
2015-06-24 17:49:38 -07:00