s390/facilities: always use lowcore's stfle field for storing facility bits
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 24 Nov 2015 11:33:07 +0000 (12:33 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:19 +0000 (14:59 +0100)
commit76cdd44c2e56ffabc297494c090c6babc8985998
treeb737f0cbfa3fcbf1abf96d4e087f38194bddd8d1
parent9552a66fe622ed53b87278a90917a37a5245e68a
s390/facilities: always use lowcore's stfle field for storing facility bits

head.s contains an stfle instruction which stores it result at the
storage location that is assigned to the stfl instruction.

This is currently no problem, since we only care about one double
word. However if the number of double words in the ALS bitfield grows
the current code is not very stable.

E.g. before issuing the stfle command the memory to which it stores
must be cleared, since the instruction may or may not clear memory
contents where no bits are set.

In order to simplify the code a bit always use the storage location
that we reserved for the stfle result.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/head.S
arch/s390/kernel/head64.S
This page took 0.02456 seconds and 5 git commands to generate.