Skip to content

Commit 8d517bd

Browse files
committed
Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull smp fixlet from Thomas Gleixner: "A trivial build warning fix for newer compilers" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Move inline keyword at the beginning of declaration
2 parents 4c47031 + 76dc6c0 commit 8d517bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kernel/cpu.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ static struct lockdep_map cpuhp_state_down_map =
8080
STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map);
8181

8282

83-
static void inline cpuhp_lock_acquire(bool bringup)
83+
static inline void cpuhp_lock_acquire(bool bringup)
8484
{
8585
lock_map_acquire(bringup ? &cpuhp_state_up_map : &cpuhp_state_down_map);
8686
}
8787

88-
static void inline cpuhp_lock_release(bool bringup)
88+
static inline void cpuhp_lock_release(bool bringup)
8989
{
9090
lock_map_release(bringup ? &cpuhp_state_up_map : &cpuhp_state_down_map);
9191
}
9292
#else
9393

94-
static void inline cpuhp_lock_acquire(bool bringup) { }
95-
static void inline cpuhp_lock_release(bool bringup) { }
94+
static inline void cpuhp_lock_acquire(bool bringup) { }
95+
static inline void cpuhp_lock_release(bool bringup) { }
9696

9797
#endif
9898

0 commit comments

Comments
 (0)