mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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@amd.com> Reviewed-by: Jason Andryuk <jason.andryuk@amd.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
0b8604a71b
commit
cb5dcad327
1 file changed
+1
-6
@@ -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);
|
||||
|
||||