aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/jump_label.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-08-05 08:58:29 -0400
committerAvi Kivity <avi@redhat.com>2012-08-06 12:00:35 -0400
commita181dc14ed23f7a499542ff4c78532b5f24bb18f (patch)
tree6f606d8c549318ce1d29e30957f38b5e1429552d /kernel/jump_label.c
parent6aed64a8a440360be875f31eabeacaddb83ef25f (diff)
jump_label: Export jump_label_rate_limit()
CC: Jason Baron <jbaron@redhat.com> CC: Ingo Molnar <mingo@elte.hu> CC: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Gleb Natapov <gleb@redhat.com> Acked-by: Jason Baron <jbaron@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/jump_label.c')
-rw-r--r--kernel/jump_label.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/jump_label.c b/kernel/jump_label.c
index 43049192b5ec..60f48fa0fd0d 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -118,6 +118,7 @@ void jump_label_rate_limit(struct static_key_deferred *key,
118 key->timeout = rl; 118 key->timeout = rl;
119 INIT_DELAYED_WORK(&key->work, jump_label_update_timeout); 119 INIT_DELAYED_WORK(&key->work, jump_label_update_timeout);
120} 120}
121EXPORT_SYMBOL_GPL(jump_label_rate_limit);
121 122
122static int addr_conflict(struct jump_entry *entry, void *start, void *end) 123static int addr_conflict(struct jump_entry *entry, void *start, void *end)
123{ 124{