xsm: Switch xsm_ops to __alt_call_maybe_initdata
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Dec 2021 10:34:00 +0000 (10:34 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Dec 2021 15:52:24 +0000 (15:52 +0000)
commitd6385ea15f7089ca6fb554249f6717c69016c8bd
treeae5e89e2810806c12b0982fe7c11362113c0793e
parent7b57956b20d90f47dafb7ba1eb52d23e42efd786
xsm: Switch xsm_ops to __alt_call_maybe_initdata

This should have been done at the point xsm_ops became fully altcall'd.  This
puts the xsm_ops structure in .init on architectures where it is no longer
referenced at runtime.

Fixes: d868feb95a8a ("xen/xsm: Complete altcall conversion of xsm interface")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>
xen/xsm/xsm_core.c