File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,16 @@ static __cacheline_aligned_in_smp DEFINE_RAW_SPINLOCK(tick_broadcast_lock);
36
36
static void tick_broadcast_setup_oneshot (struct clock_event_device * bc );
37
37
static void tick_broadcast_clear_oneshot (int cpu );
38
38
static void tick_resume_broadcast_oneshot (struct clock_event_device * bc );
39
+ # ifdef CONFIG_HOTPLUG_CPU
39
40
static void tick_broadcast_oneshot_offline (unsigned int cpu );
41
+ # endif
40
42
#else
41
43
static inline void tick_broadcast_setup_oneshot (struct clock_event_device * bc ) { BUG (); }
42
44
static inline void tick_broadcast_clear_oneshot (int cpu ) { }
43
45
static inline void tick_resume_broadcast_oneshot (struct clock_event_device * bc ) { }
46
+ # ifdef CONFIG_HOTPLUG_CPU
44
47
static inline void tick_broadcast_oneshot_offline (unsigned int cpu ) { }
48
+ # endif
45
49
#endif
46
50
47
51
/*
You can’t perform that action at this time.
0 commit comments