mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
96d3b64b52
commit
d8901f2b2d
2 changed files with 0 additions and 4 deletions
|
@ -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));
|
||||
|
|
|
@ -226,8 +226,6 @@ static void __init kasan_enable_dat(void)
|
|||
|
||||
static void __init kasan_early_detect_facilities(void)
|
||||
{
|
||||
__stfle(S390_lowcore.stfle_fac_list,
|
||||
ARRAY_SIZE(S390_lowcore.stfle_fac_list));
|
||||
if (test_facility(8)) {
|
||||
has_edat = true;
|
||||
__ctl_set_bit(0, 23);
|
||||
|
|
Loading…
Reference in a new issue