X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fjump_label_ratelimit.h;h=089f70f83e97c9a1adf1087f10d095a02bd3e152;hb=10554647b488f58f2c36c78368e9bab4b93da721;hp=113788389b3dc25c2de62c32268da828719c7d68;hpb=fc582aef7dcc27a7120cf232c1e76c569c7b6eab;p=~andy%2Flinux diff --git a/include/linux/jump_label_ratelimit.h b/include/linux/jump_label_ratelimit.h index 113788389b3..089f70f83e9 100644 --- a/include/linux/jump_label_ratelimit.h +++ b/include/linux/jump_label_ratelimit.h @@ -23,12 +23,14 @@ struct static_key_deferred { }; static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) { + STATIC_KEY_CHECK_USE(); static_key_slow_dec(&key->key); } static inline void jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl) { + STATIC_KEY_CHECK_USE(); } #endif /* HAVE_JUMP_LABEL */ #endif /* _LINUX_JUMP_LABEL_RATELIMIT_H */