summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-02-27 12:49:01 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-03-01 08:00:39 +0100
commitd8901f2b2d04841d75d62c28c18b8b6e57eb49de (patch)
tree31a3346eae89f821fb3ae8ba0f1b050f3d48b30a /arch/s390/kernel
parents390/als: remove duplicated in-place implementation of stfle (diff)
downloadlinux-d8901f2b2d04841d75d62c28c18b8b6e57eb49de.tar.xz
linux-d8901f2b2d04841d75d62c28c18b8b6e57eb49de.zip
s390: clean up redundant facilities list setup
Facilities list in the lowcore is initially set up by verify_facilities from als.c and later initializations are redundant, so cleaning them up. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/early.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index af5c2b3f7065..2871e98fdd0b 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -164,8 +164,6 @@ static noinline __init void setup_lowcore_early(void)
static noinline __init void setup_facility_list(void)
{
- stfle(S390_lowcore.stfle_fac_list,
- ARRAY_SIZE(S390_lowcore.stfle_fac_list));
memcpy(S390_lowcore.alt_stfle_fac_list,
S390_lowcore.stfle_fac_list,
sizeof(S390_lowcore.alt_stfle_fac_list));