mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
6a962ebddc
commit
70dda5f4e9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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) )
|
||||
{
|
||||
|
||||