Skip to content

Commit c887ef5

Browse files
committed
powerpc/64s: Don't set FSCR bits in INIT_THREAD
Since the previous commit that saves the value of FSCR configured at boot into init_task.thread.fscr, the static initialisation in INIT_THREAD now no longer has any effect. So remove it. For non DT CPU features, the end result is the same, because __init_FSCR() is called on all CPUs that have an FSCR (Power8, Power9), and it sets FSCR_TAR & FSCR_EBB. Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 912c0a7 commit c887ef5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/powerpc/include/asm/processor.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ struct thread_struct {
302302
.ksp = INIT_SP, \
303303
.addr_limit = KERNEL_DS, \
304304
.fpexc_mode = 0, \
305-
.fscr = FSCR_TAR | FSCR_EBB \
306305
}
307306
#endif
308307

0 commit comments

Comments
 (0)