From patchwork Tue Jun 5 23:45:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Gilling X-Patchwork-Id: 9131 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 40A3E23E5A for ; Tue, 5 Jun 2012 23:46:38 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 0FED7A189DB for ; Tue, 5 Jun 2012 23:46:37 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so4963687yhp.11 for ; Tue, 05 Jun 2012 16:46:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to :date:message-id:x-mailer:in-reply-to:references:subject:x-beenthere :x-mailman-version:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-gm-message-state; bh=vsOWG4tvBGj6lbqLcULClmfU8Dzyz+V3p2xpY5ROsdU=; b=paUKkedXZx6bV2jh11vipzeI/y0uqEgNCRaQTt9OakPuUQCVp9+oQT0XOgOwMclriE hy1KkPF8QWrvKBW7ggk4nmCMCjqs/KuV6XngEh/Ejxr/ufWPzDumOptDMjh638u5ewb+ CuuGZVRlMHoc3RAix8OkgCbMeUidfGd1gho0/eQuazM4hvB2PV7kqcD4X2CcYpeFbsSi 5ynohuYxnUxPgHuYgcMYiq+FbO1k8pWfm5SCeducWp0anjxHHvdwgs1kZdlmHOyTbuQc LUjbFXu15dJxvASFR9b5zxX83sZMCf/O4wcCmn9ilFxWVwXPat8HVjQ++7t8Ae+RqjtV 6P1A== Received: by 10.50.193.196 with SMTP id hq4mr4772489igc.57.1338939997333; Tue, 05 Jun 2012 16:46:37 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp52407ibb; Tue, 5 Jun 2012 16:46:36 -0700 (PDT) Received: by 10.68.211.41 with SMTP id mz9mr7199569pbc.12.1338939996596; Tue, 05 Jun 2012 16:46:36 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id tx7si364594pbc.5.2012.06.05.16.46.34; Tue, 05 Jun 2012 16:46:36 -0700 (PDT) Received-SPF: neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) client-ip=91.189.95.16; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) smtp.mail=linaro-mm-sig-bounces@lists.linaro.org Received: from localhost ([127.0.0.1] helo=mombin.canonical.com) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Sc3SD-0005nG-Cs; Tue, 05 Jun 2012 23:46:26 +0000 Received: from mail-ee0-f74.google.com ([74.125.83.74]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Sc3Rx-0005hC-Bh for linaro-mm-sig@lists.linaro.org; Tue, 05 Jun 2012 23:46:09 +0000 Received: by mail-ee0-f74.google.com with SMTP id t10so364602eei.1 for ; Tue, 05 Jun 2012 16:46:09 -0700 (PDT) Received: by 10.14.94.80 with SMTP id m56mr3757961eef.7.1338939969306; Tue, 05 Jun 2012 16:46:09 -0700 (PDT) Received: by 10.14.94.80 with SMTP id m56mr3757958eef.7.1338939969237; Tue, 05 Jun 2012 16:46:09 -0700 (PDT) Received: from hpza9.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id b15si9909een.0.2012.06.05.16.46.09 (version=TLSv1/SSLv3 cipher=AES128-SHA); Tue, 05 Jun 2012 16:46:09 -0700 (PDT) Received: from dirtysouth.mtv.corp.google.com (dirtysouth.mtv.corp.google.com [172.18.104.93]) by hpza9.eem.corp.google.com (Postfix) with ESMTP id 0DEFC5C0060; Tue, 5 Jun 2012 16:46:09 -0700 (PDT) Received: by dirtysouth.mtv.corp.google.com (Postfix, from userid 94083) id 6662440F2E; Tue, 5 Jun 2012 16:46:08 -0700 (PDT) From: Erik Gilling To: linaro-mm-sig@lists.linaro.org Date: Tue, 5 Jun 2012 16:45:56 -0700 Message-Id: <1338939956-17312-12-git-send-email-konkers@android.com> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1338939956-17312-1-git-send-email-konkers@android.com> References: <1338939956-17312-1-git-send-email-konkers@android.com> Subject: [Linaro-mm-sig] [RFC 11/11] sw_sync: export sw_sync API X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQnBquB28oGKPLxtrgFtIIK80uOVospBQZDj0XIoL12CyzD+E8lz7GJ6v9TgS3j+CDbiWppm Needed to let modules link against sw_sync. Signed-off-by: Erik Gilling --- drivers/base/sw_sync.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/base/sw_sync.c b/drivers/base/sw_sync.c index 21ddf4f..935769c 100644 --- a/drivers/base/sw_sync.c +++ b/drivers/base/sw_sync.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include @@ -42,6 +43,7 @@ struct sync_pt *sw_sync_pt_create(struct sw_sync_timeline *obj, u32 value) return (struct sync_pt *)pt; } +EXPORT_SYMBOL(sw_sync_pt_create); static struct sync_pt *sw_sync_pt_dup(struct sync_pt *sync_pt) { @@ -119,6 +121,7 @@ struct sw_sync_timeline *sw_sync_timeline_create(const char *name) return obj; } +EXPORT_SYMBOL(sw_sync_timeline_create); void sw_sync_timeline_inc(struct sw_sync_timeline *obj, u32 inc) { @@ -126,7 +129,7 @@ void sw_sync_timeline_inc(struct sw_sync_timeline *obj, u32 inc) sync_timeline_signal(&obj->obj); } - +EXPORT_SYMBOL(sw_sync_timeline_inc); #ifdef CONFIG_SW_SYNC_USER /* *WARNING*