Loading arch/x86/xen/time.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -439,11 +439,11 @@ void xen_timer_resume(void) } } } } static const struct pv_time_ops xen_time_ops __initdata = { static const struct pv_time_ops xen_time_ops __initconst = { .sched_clock = xen_clocksource_read, .sched_clock = xen_clocksource_read, }; }; static __init void xen_time_init(void) static void __init xen_time_init(void) { { int cpu = smp_processor_id(); int cpu = smp_processor_id(); struct timespec tp; struct timespec tp; Loading @@ -468,7 +468,7 @@ static __init void xen_time_init(void) xen_setup_cpu_clockevents(); xen_setup_cpu_clockevents(); } } __init void xen_init_time_ops(void) void __init xen_init_time_ops(void) { { pv_time_ops = xen_time_ops; pv_time_ops = xen_time_ops; Loading @@ -490,7 +490,7 @@ static void xen_hvm_setup_cpu_clockevents(void) xen_setup_cpu_clockevents(); xen_setup_cpu_clockevents(); } } __init void xen_hvm_init_time_ops(void) void __init xen_hvm_init_time_ops(void) { { /* vector callback is needed otherwise we cannot receive interrupts /* vector callback is needed otherwise we cannot receive interrupts * on cpu > 0 and at this point we don't know how many cpus are * on cpu > 0 and at this point we don't know how many cpus are Loading Loading
arch/x86/xen/time.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -439,11 +439,11 @@ void xen_timer_resume(void) } } } } static const struct pv_time_ops xen_time_ops __initdata = { static const struct pv_time_ops xen_time_ops __initconst = { .sched_clock = xen_clocksource_read, .sched_clock = xen_clocksource_read, }; }; static __init void xen_time_init(void) static void __init xen_time_init(void) { { int cpu = smp_processor_id(); int cpu = smp_processor_id(); struct timespec tp; struct timespec tp; Loading @@ -468,7 +468,7 @@ static __init void xen_time_init(void) xen_setup_cpu_clockevents(); xen_setup_cpu_clockevents(); } } __init void xen_init_time_ops(void) void __init xen_init_time_ops(void) { { pv_time_ops = xen_time_ops; pv_time_ops = xen_time_ops; Loading @@ -490,7 +490,7 @@ static void xen_hvm_setup_cpu_clockevents(void) xen_setup_cpu_clockevents(); xen_setup_cpu_clockevents(); } } __init void xen_hvm_init_time_ops(void) void __init xen_hvm_init_time_ops(void) { { /* vector callback is needed otherwise we cannot receive interrupts /* vector callback is needed otherwise we cannot receive interrupts * on cpu > 0 and at this point we don't know how many cpus are * on cpu > 0 and at this point we don't know how many cpus are Loading