s390/mm: Remove have_store_indication static key
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 31 Jan 2025 15:11:38 +0000 (16:11 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 18 Feb 2025 17:53:48 +0000 (18:53 +0100)
commitfb5bbcdcc3eabd8e9061eac7c3223e3de640adfa
tree6f0763caec395df5956c4beeb8fcef953b85d236
parentfa1518875286c94111bdaf1c7bae188c9c426c6b
s390/mm: Remove have_store_indication static key

Whenever test_facility() is used with a constant facility
number the generated code is identical to a static branch.

Remove the extra initcall and static_branch_enable() handling for
have_store_indication, and use test_facility() directly.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/fault.c