From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752723AbdLEOf7 (ORCPT ); Tue, 5 Dec 2017 09:35:59 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52832 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752677AbdLEOf4 (ORCPT ); Tue, 5 Dec 2017 09:35:56 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6BEF660218 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=hareeshg@codeaurora.org From: Hareesh Gundu To: Linus Torvalds , Steven Rostedt , Mel Gorman 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 Message-Id: <1512484543-24772-1-git-send-email-hareeshg@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 1.9.1