|
@@ -1287,7 +1287,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
|
|
#ifdef CONFIG_PPC64
|
|
#ifdef CONFIG_PPC64
|
|
if (cpu_has_feature(CPU_FTR_DSCR)) {
|
|
if (cpu_has_feature(CPU_FTR_DSCR)) {
|
|
p->thread.dscr_inherit = current->thread.dscr_inherit;
|
|
p->thread.dscr_inherit = current->thread.dscr_inherit;
|
|
- p->thread.dscr = current->thread.dscr;
|
|
|
|
|
|
+ p->thread.dscr = mfspr(SPRN_DSCR);
|
|
}
|
|
}
|
|
if (cpu_has_feature(CPU_FTR_HAS_PPR))
|
|
if (cpu_has_feature(CPU_FTR_HAS_PPR))
|
|
p->thread.ppr = INIT_PPR;
|
|
p->thread.ppr = INIT_PPR;
|