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: d868feb95a ("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>
This commit is contained in:
Andrew Cooper committed 2021-12-03 15:52:24 +00:00
1 parent 7b57956b20
commit d6385ea15f
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@
#define XSM_FRAMEWORK_VERSION "1.0.1"
struct xsm_ops __read_mostly xsm_ops;
struct xsm_ops __alt_call_maybe_initdata xsm_ops;
enum xsm_ops_state {
XSM_OPS_UNREGISTERED,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.