Source
82
82
return __clocksource_register(&clocksource_jiffies);
83
83
}
84
84
85
85
core_initcall(init_jiffies_clocksource);
86
86
87
87
struct clocksource * __init __weak clocksource_default_clock(void)
88
88
{
89
89
return &clocksource_jiffies;
90
90
}
91
91
92
-
struct clocksource refined_jiffies;
92
+
static struct clocksource refined_jiffies;
93
93
94
94
int register_refined_jiffies(long cycles_per_second)
95
95
{
96
96
u64 nsec_per_tick, shift_hz;
97
97
long cycles_per_tick;
98
98
99
99
100
100
101
101
refined_jiffies = clocksource_jiffies;
102
102
refined_jiffies.name = "refined-jiffies";