From patchwork Tue Oct 9 15:22:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12070 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 7EBD223F6D for ; Tue, 9 Oct 2012 15:23:38 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 32790A18835 for ; Tue, 9 Oct 2012 15:23:38 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so11480943iej.11 for ; Tue, 09 Oct 2012 08:23:38 -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:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=ez3hmM8dq6P1p4YT+ylg+V33oZzFClHQZllvOUpnGmc=; b=H8cJYlDwASbshUWnSDb2cbEj94MhiAkGwclZ8qBmXdtb9VjVdlaH/cy89g6eRUMTDB uf39vwOlyIrK3fNvZnk8wMmvFsEqhuxdjbpm2ceFU1D5h6+wrivfrcIvQSOpkx43Kmdg O6x6xt1XwjfJuWFJHZus1VUaW+fcg8G8EvegtgJflVj3nMTHAnYiKp++Cz7U2IXjBSWC gb5u7Xyt4I5TMqpaaxDni2Vkdi4+2MXtPlbXGRbgNHx0iOcsmv58C5V463dIIhbWK/VA H5BKIgSMqmp9EzFmZGLIxyJVDWzUQ/9lTM8aTLAzuM5LwRVCAAuFGQd6KuYLPimmpRQk J10g== Received: by 10.43.7.132 with SMTP id oo4mr15898296icb.6.1349796217949; Tue, 09 Oct 2012 08:23: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.50.67.148 with SMTP id n20csp73089igt; Tue, 9 Oct 2012 08:23:37 -0700 (PDT) Received: by 10.216.197.142 with SMTP id t14mr863460wen.151.1349796216535; Tue, 09 Oct 2012 08:23:36 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.186]) by mx.google.com with ESMTPS id k54si15018091wec.0.2012.10.09.08.23.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Oct 2012 08:23:36 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.186 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.186; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.186 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LkxjZ-1Tu7WT3Ubl-00bLqM; Tue, 09 Oct 2012 17:23:25 +0200 From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Stephen Boyd , Jonathan Austin , Will Deacon Subject: [PATCH 4/9] ARM: export default read_current_timer Date: Tue, 9 Oct 2012 17:22:58 +0200 Message-Id: <1349796183-30648-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349796183-30648-1-git-send-email-arnd@arndb.de> References: <1349796183-30648-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:tQwDLTbDKdlxamDX8PrzfRSjNrYedr3CNwVYu4j8u9v d00uiBeOHEZ8PJKgOCAR+Q2VhSAfsmxXAPOo9CleWzmQGQyVSq x9AqzTCj6R0l1/4VqdDcy8mkuw70Fkx9yzah8lJN7m0gBUHUgu +tp2MsUSY0Zd16OPX9nOYnVvE0iUelqostHGCnSclQCfGT1i9/ /2pVUSd+9K5lMyaZlSCusrby8HArnNH63/nxwxfH9bn7OYzKZv Ulc9KV8rVJDE57EFRAPbsvlIKfAffS3cHGTrKXaJhKq1DwGpFA 3VCB6w+/6szd+kuGg1OGHDVKyzI+c60hbyIHHpDl8DY839p5Pi uw3QNbcJsHtmCg1WiybxNR6ACgb1zF6hMdtehMd+BNrbMlqgWc pZob+kF4OxShJEnk/V7/kbxOlTJBSlgMeY= X-Gm-Message-State: ALoCoQnUmYHFvbWpwAfOZaitwGixQtYjY/zpBgfTv406Xnr4Zq39E+3pcPfDGHQV1ZTeOopFdD5t read_current_timer is used by get_cycles since "ARM: 7538/1: delay: add registration mechanism for delay timer sources", and get_cycles can be used by device drivers in loadable modules, so it has to be exported. Without this patch, building imote2_defconfig fails with ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined! Signed-off-by: Arnd Bergmann Cc: Stephen Boyd Cc: Jonathan Austin Cc: Will Deacon Cc: Russell King --- arch/arm/lib/delay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/delay.c b/arch/arm/lib/delay.c index 9d0a300..0dc5385 100644 --- a/arch/arm/lib/delay.c +++ b/arch/arm/lib/delay.c @@ -45,6 +45,7 @@ int read_current_timer(unsigned long *timer_val) *timer_val = delay_timer->read_current_timer(); return 0; } +EXPORT_SYMBOL_GPL(read_current_timer); static void __timer_delay(unsigned long cycles) {