Commit-ID: 7cfcb4392833cf4b6c4f812d22e61de58a80e39d Gitweb: http://git.kernel.org/tip/7cfcb4392833cf4b6c4f812d22e61de58a80e39d Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx> AuthorDate: Mon, 24 Apr 2017 01:01:02 +0200 Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx> CommitDate: Mon, 24 Apr 2017 01:01:02 +0200 jump_label: Add missing stub function for HAVE_JUMP_LABEL=n static_key_slow_dec_cpuslocked() is missing for HAVE_JUMP_LABEL=n. Add it Fixes: 5be6671266e1 ("jump_label: Provide static_key_[disable|/slow_dec]_cpuslocked()") Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> --- include/linux/jump_label.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h index bedd558..d7b17d1 100644 --- a/include/linux/jump_label.h +++ b/include/linux/jump_label.h @@ -224,6 +224,11 @@ static inline void static_key_slow_dec(struct static_key *key) atomic_dec(&key->enabled); } +static inline void static_key_slow_dec_cpuslocked(struct static_key *key) +{ + static_key_slow_dec(key); +} + static inline int jump_label_text_reserved(void *start, void *end) { return 0; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |