[PATCH 1/5] jump-label: export jump_label_inc/jump_label_dec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Export these two symbols, they will be used by mmu audit

Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx>
---
 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 bbdfe2a..7d3d452 100644
--- a/kernel/jump_label.c
+++ b/kernel/jump_label.c
@@ -70,6 +70,7 @@ void jump_label_inc(struct jump_label_key *key)
 		jump_label_update(key, JUMP_LABEL_ENABLE);
 	jump_label_unlock();
 }
+EXPORT_SYMBOL_GPL(jump_label_inc);

 void jump_label_dec(struct jump_label_key *key)
 {
@@ -79,6 +80,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)
 {
-- 
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux