OSDN Git Service

s390: avoid double handling of "noexec" option
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 22 Oct 2019 15:37:51 +0000 (17:37 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 31 Oct 2019 16:20:52 +0000 (17:20 +0100)
commitd3baaeb5ae0870973bfe0f6aaed887b894d5e560
tree222d5f0bd4a0f32053a5ef796e403f1322f1051a
parentf653e29bc2d94ae6b6f470145c630d1ba0d856d2
s390: avoid double handling of "noexec" option

"noexec" option is already parsed during startup and its value is
exposed via noexec_disabled variable. Simply reuse that value during
machine facilities detection.

Suggested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/early.c