File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 59
59
/* LATCH is used in the interval timer and ftape setup. */
60
60
#define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ) /* For divider */
61
61
62
- extern int register_refined_jiffies (long clock_tick_rate );
62
+ extern void register_refined_jiffies (long clock_tick_rate );
63
63
64
64
/* TICK_USEC is the time between ticks in usec assuming SHIFTED_HZ */
65
65
#define TICK_USEC ((USEC_PER_SEC + HZ/2) / HZ)
Original file line number Diff line number Diff line change @@ -75,13 +75,11 @@ struct clocksource * __init __weak clocksource_default_clock(void)
75
75
76
76
static struct clocksource refined_jiffies ;
77
77
78
- int register_refined_jiffies (long cycles_per_second )
78
+ void __init register_refined_jiffies (long cycles_per_second )
79
79
{
80
80
u64 nsec_per_tick , shift_hz ;
81
81
long cycles_per_tick ;
82
82
83
-
84
-
85
83
refined_jiffies = clocksource_jiffies ;
86
84
refined_jiffies .name = "refined-jiffies" ;
87
85
refined_jiffies .rating ++ ;
@@ -100,5 +98,4 @@ int register_refined_jiffies(long cycles_per_second)
100
98
refined_jiffies .mult = ((u32 )nsec_per_tick ) << JIFFIES_SHIFT ;
101
99
102
100
__clocksource_register (& refined_jiffies );
103
- return 0 ;
104
101
}
You can’t perform that action at this time.
0 commit comments