1. 14 12月, 2015 39 次提交
  2. 10 12月, 2015 1 次提交
    • A
      powerpc: Fix DSCR inheritance over fork() · db1231dc
      Anton Blanchard 提交于
      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: NAnton Blanchard <anton@samba.org>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      db1231dc