smp fix for 4.15
Linus,
please pull the latest smp-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus
A trivial build warning fix for newer compilers
Thanks,
tglx
------------------>
Mathieu Malaterre (1):
cpu/hotplug: Move inline keyword at the beginning of declaration
kernel/cpu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
kernel/cpu.c +4 -4
@@ -80,19 +80,19 @@ static struct lockdep_map cpuhp_state_down_map =STATIC_LOCKDEP_MAP_INIT ("cpuhp_state-down" , &cpuhp_state_down_map); -static void inline cpuhp_lock_acquire (bool bringup) +static inline void cpuhp_lock_acquire (bool bringup) {lock_map_acquire (bringup ? &cpuhp_state_up_map : &cpuhp_state_down_map); } -static void inline cpuhp_lock_release (bool bringup) +static inline void cpuhp_lock_release (bool bringup) {lock_map_release (bringup ? &cpuhp_state_up_map : &cpuhp_state_down_map); }#else -static void inline cpuhp_lock_acquire (bool bringup) { } -static void inline cpuhp_lock_release (bool bringup) { } +static inline void cpuhp_lock_acquire (bool bringup) { } +static inline void cpuhp_lock_release (bool bringup) { }#endif