lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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


\
 
 \ /
  Last update: 2011-11-28 13:43    [W:0.086 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site