[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] arm: Remove alloc_dom0_vcpu0()
commit cb5dcad3275efddd903fd552f746b0f3bd8d83ae Author: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx> AuthorDate: Thu Jul 17 19:51:26 2025 +0200 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx> CommitDate: Thu Jul 17 17:05:07 2025 -0700 arm: Remove alloc_dom0_vcpu0() It's a straight vcpu_create(), so the alloc_dom0_vcpu0() call is irrelevant. Not a functional change. Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/arch/arm/domain_build.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 04d3dca38a..ed668bd61c 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -115,11 +115,6 @@ unsigned int __init dom0_max_vcpus(void) return opt_dom0_max_vcpus; } -struct vcpu *__init alloc_dom0_vcpu0(struct domain *dom0) -{ - return vcpu_create(dom0, 0); -} - /* * Insert the given pages into a memory bank, banks are ordered by address. * @@ -2085,7 +2080,7 @@ void __init create_dom0(void) if ( llc_coloring_enabled && (rc = dom0_set_llc_colors(dom0)) ) panic("Error initializing LLC coloring for domain 0 (rc = %d)\n", rc); - if ( alloc_dom0_vcpu0(dom0) == NULL ) + if ( vcpu_create(dom0, 0) == NULL ) panic("Error creating domain 0 vcpu0\n"); rc = construct_dom0(dom0); -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |