Also remove __init annotations from xen_evtchn_2l/fifo_init().
This allows us to support 2-level event channel ABI on
xen_shim_domain().
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
/* Linux <-> Xen vCPU id mapping */
DEFINE_PER_CPU(uint32_t, xen_vcpu_id);
EXPORT_PER_CPU_SYMBOL(xen_vcpu_id);
+EXPORT_PER_CPU_SYMBOL(xen_vcpu);
+EXPORT_PER_CPU_SYMBOL(xen_vcpu_info);
enum xen_domain_type xen_domain_type = XEN_NATIVE;
EXPORT_SYMBOL_GPL(xen_domain_type);
* page as soon as fixmap is up and running.
*/
struct shared_info *HYPERVISOR_shared_info = &xen_dummy_shared_info;
+EXPORT_SYMBOL_GPL(HYPERVISOR_shared_info);
/*
* Flag to determine whether vcpu info placement is available on all
.resume = evtchn_2l_resume,
};
-void __init xen_evtchn_2l_init(void)
+void xen_evtchn_2l_init(void)
{
pr_info("Using 2-level ABI\n");
evtchn_ops = &evtchn_ops_2l;
return 0;
}
-int __init xen_evtchn_fifo_init(void)
+int xen_evtchn_fifo_init(void)
{
int cpu = smp_processor_id();
int ret;
#include <xen/interface/vcpu.h>
DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
-
+DECLARE_PER_CPU(struct vcpu_info, xen_vcpu_info);
DECLARE_PER_CPU(uint32_t, xen_vcpu_id);
static inline uint32_t xen_vcpu_nr(int cpu)
{