|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/dom0less: mark domain_p2m_set_allocation __init
commit eec94a43319a9dd7cb90528f6e1bb608c0164913
Author: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
AuthorDate: Tue May 13 13:18:02 2025 -0400
Commit: Michal Orzel <michal.orzel@xxxxxxx>
CommitDate: Wed May 28 10:32:19 2025 +0200
xen/dom0less: mark domain_p2m_set_allocation __init
All functions in dom0less-build.c should be __init.
Fixes: 2705f1adb9df ("xen: introduce Kconfig ARCH_PAGING_MEMPOOL")
Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
xen/common/device-tree/dom0less-build.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/common/device-tree/dom0less-build.c
b/xen/common/device-tree/dom0less-build.c
index 2c56f13771..39cb2cd5c7 100644
--- a/xen/common/device-tree/dom0less-build.c
+++ b/xen/common/device-tree/dom0less-build.c
@@ -730,8 +730,8 @@ static int __init domain_p2m_set_allocation(struct domain
*d, uint64_t mem,
return rc;
}
#else /* !CONFIG_ARCH_PAGING_MEMPOOL */
-static inline int domain_p2m_set_allocation(struct domain *d, uint64_t mem,
- const struct dt_device_node *node)
+static inline int __init domain_p2m_set_allocation(
+ struct domain *d, uint64_t mem, const struct dt_device_node *node)
{
return 0;
}
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |