From patchwork Tue Feb 22 17:50:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jvrao X-Patchwork-Id: 580751 X-Patchwork-Delegate: ericvh@gmail.com Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1MHDqnq029171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 22 Feb 2011 17:14:13 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1Prvnj-0006Rn-TW; Tue, 22 Feb 2011 17:13:27 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1Prvni-0006Re-H3 for v9fs-developer@lists.sourceforge.net; Tue, 22 Feb 2011 17:13:26 +0000 X-ACL-Warn: Received: from e39.co.us.ibm.com ([32.97.110.160]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.74) id 1Prvnh-0003Jl-7I for v9fs-developer@lists.sourceforge.net; Tue, 22 Feb 2011 17:13:26 +0000 Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by e39.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p1MH0YrO022887 for ; Tue, 22 Feb 2011 10:00:34 -0700 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p1MHD6M4069038 for ; Tue, 22 Feb 2011 10:13:06 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p1MHD5xW022480 for ; Tue, 22 Feb 2011 10:13:06 -0700 Received: from localhost.localdomain (elm3c187.beaverton.ibm.com [9.47.69.187]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p1MHD5H5022435; Tue, 22 Feb 2011 10:13:05 -0700 From: "Venkateswararao Jujjuri (JV)" To: ericvh@gmail.com Date: Tue, 22 Feb 2011 09:50:50 -0800 Message-Id: <1298397050-974-1-git-send-email-jvrao@linux.vnet.ibm.com> X-Mailer: git-send-email 1.6.0.6 X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1Prvnh-0003Jl-7I Cc: v9fs-developer@lists.sourceforge.net Subject: [V9fs-developer] [PATCH] [net/9] Fix build issue with export symbols. X-BeenThere: v9fs-developer@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: v9fs-developer-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 22 Feb 2011 17:14:14 +0000 (UTC) diff --git a/net/9p/trans_common.c b/net/9p/trans_common.c index ca705f1..d62b9aa 100644 --- a/net/9p/trans_common.c +++ b/net/9p/trans_common.c @@ -13,6 +13,7 @@ */ #include +#include #include #include #include @@ -32,6 +33,7 @@ p9_release_req_pages(struct trans_rpage_info *rpinfo) i++; } } +EXPORT_SYMBOL(p9_release_req_pages); /** * p9_nr_pages - Return number of pages needed to accomodate the payload. @@ -45,6 +47,7 @@ p9_nr_pages(struct p9_req_t *req) PAGE_SIZE - 1) >> PAGE_SHIFT; return end_page - start_page; } +EXPORT_SYMBOL(p9_nr_pages); /** * payload_gup - Translates user buffer into kernel pages and @@ -91,3 +94,4 @@ p9_payload_gup(struct p9_req_t *req, size_t *pdata_off, int *pdata_len, } return 0; } +EXPORT_SYMBOL(p9_payload_gup);