diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-31 12:29:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-12-31 12:29:02 -0800 |
commit | 8d517bdfb57154b8a11d7f1682ecc0f79abf8e02 (patch) | |
tree | 74db6e4652b78b70bbeaf27d6056bf7354dffa63 /kernel | |
parent | 4c470317f91e5e684201f21e237fe444ed47c18c (diff) | |
parent | 76dc6c097d581ad8eeedf8e1a000423a3d742445 (diff) | |
download | op-kernel-dev-8d517bdfb57154b8a11d7f1682ecc0f79abf8e02.zip op-kernel-dev-8d517bdfb57154b8a11d7f1682ecc0f79abf8e02.tar.gz |
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
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cpu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 41376c3..3d002a6 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -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 |