LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Hareesh Gundu <hareeshg@codeaurora.org>
To: Linus Torvalds <torvalds@linux-foundation.org>,
Steven Rostedt <rostedt@goodmis.org>,
Mel Gorman <mgorman@suse.de>
Cc: efault@gmx.de, peterz@infradead.org, tglx@linutronix.de,
linux-kernel@vger.kernel.org, hareeshg@codeaurora.org
Subject: [PATCH] lib/plist.c: Export plist_*() APIs
Date: Tue, 5 Dec 2017 20:05:43 +0530 [thread overview]
Message-ID: <1512484543-24772-1-git-send-email-hareeshg@codeaurora.org> (raw)
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@codeaurora.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
next reply other threads:[~2017-12-05 14:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 14:35 Hareesh Gundu [this message]
2017-12-05 14:41 ` Peter Zijlstra
2017-12-06 15:29 ` Hareesh Gundu
2017-12-06 15:59 ` Peter Zijlstra
2018-05-30 12:25 ` Hareesh Gundu
2018-05-30 14:12 ` Peter Zijlstra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512484543-24772-1-git-send-email-hareeshg@codeaurora.org \
--to=hareeshg@codeaurora.org \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--subject='Re: [PATCH] lib/plist.c: Export plist_*() APIs' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).