Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245253
b: refs/heads/master
c: fb6ce5d
h: refs/heads/master
i:
  245251: 95c86de
v: v3
  • Loading branch information
Daniel Kiper authored and Konrad Rzeszutek Wilk committed May 19, 2011
1 parent 3caf70b commit 3dde770
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad7ba09e658f8e890797ed168dfb3f84be934b09
refs/heads/master: fb6ce5dea4bb704bfcd9fda7e6b1354da66f4d2f
8 changes: 4 additions & 4 deletions trunk/arch/x86/xen/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

static __init void xen_time_init(void)
static void __init xen_time_init(void)
{
int cpu = smp_processor_id();
struct timespec tp;
Expand All @@ -468,7 +468,7 @@ static __init void xen_time_init(void)
xen_setup_cpu_clockevents();
}

__init void xen_init_time_ops(void)
void __init xen_init_time_ops(void)
{
pv_time_ops = xen_time_ops;

Expand All @@ -490,7 +490,7 @@ static void xen_hvm_setup_cpu_clockevents(void)
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
* on cpu > 0 and at this point we don't know how many cpus are
Expand Down

0 comments on commit 3dde770

Please sign in to comment.