[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1512484543-24772-1-git-send-email-hareeshg@codeaurora.org>
Date: Tue, 5 Dec 2017 20:05:43 +0530
From: Hareesh Gundu <hareeshg@...eaurora.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Mel Gorman <mgorman@...e.de>
Cc: efault@....de, peterz@...radead.org, tglx@...utronix.de,
linux-kernel@...r.kernel.org, hareeshg@...eaurora.org
Subject: [PATCH] lib/plist.c: Export plist_*() APIs
Allow plist_add(), plist_del() and plist_requeue() APIs to
be referenced by kernel modules by adding the EXPORT_SYMBOL().
Signed-off-by: Hareesh Gundu <hareeshg@...eaurora.org>
---
lib/plist.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/plist.c b/lib/plist.c
index 199408f..6109b75 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -103,6 +103,7 @@ void plist_add(struct plist_node *node, struct plist_head *head)
plist_check_head(head);
}
+EXPORT_SYMBOL(plist_add);
/**
* plist_del - Remove a @node from plist.
@@ -132,6 +133,7 @@ void plist_del(struct plist_node *node, struct plist_head *head)
plist_check_head(head);
}
+EXPORT_SYMBOL(plist_del);
/**
* plist_requeue - Requeue @node at end of same-prio entries.
@@ -172,6 +174,7 @@ void plist_requeue(struct plist_node *node, struct plist_head *head)
plist_check_head(head);
}
+EXPORT_SYMBOL(plist_requeue);
#ifdef CONFIG_DEBUG_PI_LIST
#include <linux/sched.h>
--
1.9.1
Powered by blists - more mailing lists