diff options
Diffstat (limited to 'arch/x86/xen/time.c')
-rw-r--r-- | arch/x86/xen/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index 2e2d370a47b1..bd4ffd7d9589 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c | |||
@@ -439,11 +439,11 @@ void xen_timer_resume(void) | |||
439 | } | 439 | } |
440 | } | 440 | } |
441 | 441 | ||
442 | static const struct pv_time_ops xen_time_ops __initdata = { | 442 | static const struct pv_time_ops xen_time_ops __initconst = { |
443 | .sched_clock = xen_clocksource_read, | 443 | .sched_clock = xen_clocksource_read, |
444 | }; | 444 | }; |
445 | 445 | ||
446 | static __init void xen_time_init(void) | 446 | static void __init xen_time_init(void) |
447 | { | 447 | { |
448 | int cpu = smp_processor_id(); | 448 | int cpu = smp_processor_id(); |
449 | struct timespec tp; | 449 | struct timespec tp; |
@@ -468,7 +468,7 @@ static __init void xen_time_init(void) | |||
468 | xen_setup_cpu_clockevents(); | 468 | xen_setup_cpu_clockevents(); |
469 | } | 469 | } |
470 | 470 | ||
471 | __init void xen_init_time_ops(void) | 471 | void __init xen_init_time_ops(void) |
472 | { | 472 | { |
473 | pv_time_ops = xen_time_ops; | 473 | pv_time_ops = xen_time_ops; |
474 | 474 | ||
@@ -490,7 +490,7 @@ static void xen_hvm_setup_cpu_clockevents(void) | |||
490 | xen_setup_cpu_clockevents(); | 490 | xen_setup_cpu_clockevents(); |
491 | } | 491 | } |
492 | 492 | ||
493 | __init void xen_hvm_init_time_ops(void) | 493 | void __init xen_hvm_init_time_ops(void) |
494 | { | 494 | { |
495 | /* vector callback is needed otherwise we cannot receive interrupts | 495 | /* vector callback is needed otherwise we cannot receive interrupts |
496 | * on cpu > 0 and at this point we don't know how many cpus are | 496 | * on cpu > 0 and at this point we don't know how many cpus are |