diff options
| author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2011-11-28 07:39:59 -0500 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2011-12-27 04:22:04 -0500 |
| commit | a65cf5181aa608addcb2873c8ed90413a9f539cb (patch) | |
| tree | 3d2429790c26e3f38dc654afc404066254c4fed4 /kernel | |
| parent | 831bf664e9c1fc08fc6b3984d00d275cac82f5e9 (diff) | |
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>
Diffstat (limited to 'kernel')
| -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 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) | |||
| 71 | atomic_inc(&key->enabled); | 71 | atomic_inc(&key->enabled); |
| 72 | jump_label_unlock(); | 72 | jump_label_unlock(); |
| 73 | } | 73 | } |
| 74 | EXPORT_SYMBOL_GPL(jump_label_inc); | ||
| 74 | 75 | ||
| 75 | void jump_label_dec(struct jump_label_key *key) | 76 | void jump_label_dec(struct jump_label_key *key) |
| 76 | { | 77 | { |
| @@ -80,6 +81,7 @@ void jump_label_dec(struct jump_label_key *key) | |||
| 80 | jump_label_update(key, JUMP_LABEL_DISABLE); | 81 | jump_label_update(key, JUMP_LABEL_DISABLE); |
| 81 | jump_label_unlock(); | 82 | jump_label_unlock(); |
| 82 | } | 83 | } |
| 84 | EXPORT_SYMBOL_GPL(jump_label_dec); | ||
| 83 | 85 | ||
| 84 | static int addr_conflict(struct jump_entry *entry, void *start, void *end) | 86 | static int addr_conflict(struct jump_entry *entry, void *start, void *end) |
| 85 | { | 87 | { |
