mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/x86: Fixup misc stale issues
* Dom0 does now have an arch_config passed. * hypercall() and smp_alloc_memory() no longer exist. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> Release-acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
84699357f3
commit
2f5a483928
3 files changed
+1
-9
No files matched your search
@@ -1541,11 +1541,7 @@ void __init noreturn __start_xen(unsigned long mbi_p)
|
||||
if ( opt_dom0pvh )
|
||||
domcr_flags |= DOMCRF_pvh | DOMCRF_hap;
|
||||
|
||||
/*
|
||||
* Create initial domain 0.
|
||||
* x86 doesn't support arch-configuration. So it's fine to pass
|
||||
* NULL.
|
||||
*/
|
||||
/* Create initial domain 0. */
|
||||
dom0 = domain_create(0, domcr_flags, 0, &config);
|
||||
if ( IS_ERR(dom0) || (alloc_dom0_vcpu0(dom0) == NULL) )
|
||||
panic("Error creating domain 0");
|
||||
|
||||
@@ -612,8 +612,6 @@ struct stubs {
|
||||
DECLARE_PER_CPU(struct stubs, stubs);
|
||||
unsigned long alloc_stub_page(unsigned int cpu, unsigned long *mfn);
|
||||
|
||||
extern int hypercall(void);
|
||||
|
||||
int cpuid_hypervisor_leaves( uint32_t idx, uint32_t sub_idx,
|
||||
uint32_t *eax, uint32_t *ebx, uint32_t *ecx, uint32_t *edx);
|
||||
int rdmsr_hypervisor_regs(uint32_t idx, uint64_t *val);
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
/*
|
||||
* Private routines/data
|
||||
*/
|
||||
|
||||
extern void smp_alloc_memory(void);
|
||||
DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_mask);
|
||||
DECLARE_PER_CPU(cpumask_var_t, cpu_core_mask);
|
||||
|
||||
|
||||