Messages in this thread Patch in this message | | | Date | Mon, 28 Nov 2011 20:39:59 +0800 | From | Xiao Guangrong <> | Subject | [PATCH 1/5] jump-label: export jump_label_inc/jump_label_dec |
| |
Export these two symbols, they will be used by mmu audit
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> --- 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
| |