diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2011-11-28 12:39:59 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 09:22:04 (GMT) |
commit | a65cf5181aa608addcb2873c8ed90413a9f539cb (patch) | |
tree | 3d2429790c26e3f38dc654afc404066254c4fed4 | |
parent | 831bf664e9c1fc08fc6b3984d00d275cac82f5e9 (diff) | |
download | linux-a65cf5181aa608addcb2873c8ed90413a9f539cb.tar.xz |
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 <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | kernel/jump_label.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/jump_label.c b/kernel/jump_label.c index 66ff710..2af9027 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) { |