aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-05-28 00:58:43 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-02 20:59:18 +1000
commitc887ef5707591e84f80271e95e99ff9fb38987b5 (patch)
tree45cd8352e8ec9192a56f87298214666bafe36745 /arch/powerpc/include/asm/processor.h
parentpowerpc/64s: Save FSCR to init_task.thread.fscr after feature init (diff)
downloadlinux-dev-c887ef5707591e84f80271e95e99ff9fb38987b5.tar.xz
linux-dev-c887ef5707591e84f80271e95e99ff9fb38987b5.zip
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 <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200527145843.2761782-4-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
-rw-r--r--arch/powerpc/include/asm/processor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 4e53df163b92..52a67835057a 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -302,7 +302,6 @@ struct thread_struct {
.ksp = INIT_SP, \
.addr_limit = KERNEL_DS, \
.fpexc_mode = 0, \
- .fscr = FSCR_TAR | FSCR_EBB \
}
#endif