File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -140,14 +140,6 @@ extern unsigned long tick_nohz_get_idle_calls(void);
140
140
extern unsigned long tick_nohz_get_idle_calls_cpu (int cpu );
141
141
extern u64 get_cpu_idle_time_us (int cpu , u64 * last_update_time );
142
142
extern u64 get_cpu_iowait_time_us (int cpu , u64 * last_update_time );
143
-
144
- static inline void tick_nohz_idle_stop_tick_protected (void )
145
- {
146
- local_irq_disable ();
147
- tick_nohz_idle_stop_tick ();
148
- local_irq_enable ();
149
- }
150
-
151
143
#else /* !CONFIG_NO_HZ_COMMON */
152
144
#define tick_nohz_enabled (0)
153
145
static inline int tick_nohz_tick_stopped (void ) { return 0 ; }
@@ -170,8 +162,6 @@ static inline ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next)
170
162
}
171
163
static inline u64 get_cpu_idle_time_us (int cpu , u64 * unused ) { return -1 ; }
172
164
static inline u64 get_cpu_iowait_time_us (int cpu , u64 * unused ) { return -1 ; }
173
-
174
- static inline void tick_nohz_idle_stop_tick_protected (void ) { }
175
165
#endif /* !CONFIG_NO_HZ_COMMON */
176
166
177
167
#ifdef CONFIG_NO_HZ_FULL
You can’t perform that action at this time.
0 commit comments