From a65cf5181aa608addcb2873c8ed90413a9f539cb Mon Sep 17 00:00:00 2001 From: Xiao Guangrong Date: Mon, 28 Nov 2011 20:39:59 +0800 Subject: jump-label: export jump_label_inc/jump_label_dec Export these two symbols, they will be used by KVM mmu audit Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- kernel/jump_label.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel') diff --git a/kernel/jump_label.c b/kernel/jump_label.c index 66ff7109f697..2af9027106a8 100644 --- a/kernel/jump_label.c +++ b/kernel/jump_label.c @@ -71,6 +71,7 @@ void jump_label_inc(struct jump_label_key *key) atomic_inc(&key->enabled); jump_label_unlock(); } +EXPORT_SYMBOL_GPL(jump_label_inc); void jump_label_dec(struct jump_label_key *key) { @@ -80,6 +81,7 @@ void jump_label_dec(struct jump_label_key *key) jump_label_update(key, JUMP_LABEL_DISABLE); jump_label_unlock(); } +EXPORT_SYMBOL_GPL(jump_label_dec); static int addr_conflict(struct jump_entry *entry, void *start, void *end) { -- cgit