summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2017-01-26 13:42:20 -0800
committerDmitry Shmidt <dimitrysh@google.com>2017-01-26 13:42:20 -0800
commite9a82a4cbe64b78d72c3adaea73352d2b9bab895 (patch)
tree91f1fecb1dbb7d5aba8eb4dd863756b0b0b70fd0 /include/linux
parentbd2cd20990bf3d7b47c832e1288dbb8ee73e8bdf (diff)
parentef30573ef2b13c0ecbd0302ee00b6921cf0a4aa0 (diff)
Merge tag 'v4.4.45' into android-4.4.y
This is the 4.4.45 stable release
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/jump_label_ratelimit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/jump_label_ratelimit.h b/include/linux/jump_label_ratelimit.h
index 089f70f83e97..23da3af459fe 100644
--- a/include/linux/jump_label_ratelimit.h
+++ b/include/linux/jump_label_ratelimit.h
@@ -14,6 +14,7 @@ struct static_key_deferred {
#ifdef HAVE_JUMP_LABEL
extern void static_key_slow_dec_deferred(struct static_key_deferred *key);
+extern void static_key_deferred_flush(struct static_key_deferred *key);
extern void
jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl);
@@ -26,6 +27,10 @@ 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 static_key_deferred_flush(struct static_key_deferred *key)
+{
+ STATIC_KEY_CHECK_USE();
+}
static inline void
jump_label_rate_limit(struct static_key_deferred *key,
unsigned long rl)