xsm: annotate setup functions with __init

These functions were only called from __init functions.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Daniel De Graaf authored and Andrew Cooper committed 2016-06-24 15:52:51 +01:00
1 parent 6a962ebddc
commit 70dda5f4e9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ struct xsm_operations dummy_xsm_ops;
} \
} while (0)
void xsm_fixup_ops (struct xsm_operations *ops)
void __init xsm_fixup_ops (struct xsm_operations *ops)
{
set_to_dummy_if_null(ops, security_domaininfo);
set_to_dummy_if_null(ops, domain_create);
+1 -1
View File
@@ -127,7 +127,7 @@ bool __init has_xsm_magic(paddr_t start)
}
#endif
int register_xsm(struct xsm_operations *ops)
int __init register_xsm(struct xsm_operations *ops)
{
if ( verify(ops) )
{
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.