s390/uaccess: avoid mvcos jump label
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 21 Aug 2017 12:47:04 +0000 (14:47 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 29 Aug 2017 14:29:10 +0000 (16:29 +0200)
commitd66bf801e0219ca9495fdb92574f842ba5462e04
tree374307387350defbf1b1b64612bda5e720ff9695
parent8e58ab5c6563e3cc94029853471a36b87b4716eb
s390/uaccess: avoid mvcos jump label

If the kernel is compiled for z10 or later machines the uaccess
code inlines the mvcos instruction. The facility bit 27 which
indicates the availability of MVCOS has to be set. The have_mvcos
jump label will always be true.

Make the generation of the have_mvcos jump label conditional on
!CONFIG_HAVE_MARCH_Z10_FEATURES.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/uaccess.c