History

cpu/hotplug: Remove __freeze_secondary_cpus()

The refactored function is no longer required as the codepaths that call freeze_secondary_cpus() are all suspend/resume related now.

Qais Yousef committed 6 years ago

Commit fb7fb841 parent 56555852 files · +3 −8Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/cpu.h+1−6
@@ -144,12 +144,7 @@ static inline void get_online_cpus(void) { cpus_read_lock(); } · 143 unmodified lines
144144 static inline void put_online_cpus(void) { cpus_read_unlock(); }
145145
146146 #ifdef CONFIG_PM_SLEEP_SMP
147−int __freeze_secondary_cpus(int primary, bool suspend);
148−static inline int freeze_secondary_cpus(int primary)
149−{
150− return __freeze_secondary_cpus(primary, true);
151−}
152−
147+extern int freeze_secondary_cpus(int primary);
153148 extern void thaw_secondary_cpus(void);
154149
155150 static inline int suspend_disable_secondary_cpus(void)