[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xsm: annotate setup functions with __init
commit 70dda5f4e9c92b35c88b8f52f0fddd52f8778e51 Author: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> AuthorDate: Mon Jun 20 10:04:23 2016 -0400 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Fri Jun 24 15:52:51 2016 +0100 xsm: annotate setup functions with __init These functions were only called from __init functions. Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Doug Goldstein <cardoe@xxxxxxxxxx> --- xen/xsm/dummy.c | 2 +- xen/xsm/xsm_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/xsm/dummy.c b/xen/xsm/dummy.c index 9791ad4..a082b28 100644 --- a/xen/xsm/dummy.c +++ b/xen/xsm/dummy.c @@ -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); diff --git a/xen/xsm/xsm_core.c b/xen/xsm/xsm_core.c index 3487742..78d881b 100644 --- a/xen/xsm/xsm_core.c +++ b/xen/xsm/xsm_core.c @@ -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) ) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |