s390/uv: export prot_virt_guest symbol in uv
authorHolger Dengler <dengler@linux.ibm.com>
Thu, 15 Feb 2024 07:59:45 +0000 (08:59 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 9 Apr 2024 15:29:55 +0000 (17:29 +0200)
commit05272aa499c48f230d862577d423de3e2b268e47
tree42f094f37342ef55231b68ffd2a47fda930b0dab
parent3c7a377324cf9f248041c0e7295728eebd6c9b14
s390/uv: export prot_virt_guest symbol in uv

The inline function is_prot_virt_guest() in asm/uv.h makes use of the
prot_virt_guest symbol. As this inline function can be called by other
parts of the kernel (modules and built-in), the symbol should be
exported, similar to the prot_virt_host symbol.

One consumer of is_prot_virt_guest() will be the ap bus code.

Cc: Janosch Frank <frankja@linux.ibm.com>
Cc: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Acked-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/uv.c