]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/facilities: optimize test_facility()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 24 Nov 2015 12:48:27 +0000 (13:48 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:23 +0000 (14:59 +0100)
commit6ab6c31a5450b73133e04c3976469d6d72f55df3
treea9a07f28080e174b44deb196d9df64fb31c22c17
parent185edd4431f0dfd48a465e19ccc3280b08e9fa1a
s390/facilities: optimize test_facility()

test_facility() can be optimized for bits which must be set anyway,
due to the check in head.S. This removes a couple of superfluous
runtime checks.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/facility.h