Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757477Ab2JSGUI (ORCPT ); Fri, 19 Oct 2012 02:20:08 -0400 Received: from h1446028.stratoserver.net ([85.214.92.142]:53616 "EHLO mail.ahsoftware.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917Ab2JSGUG (ORCPT ); Fri, 19 Oct 2012 02:20:06 -0400 Message-ID: <5080F0EF.5040100@ahsoftware.de> Date: Fri, 19 Oct 2012 08:19:27 +0200 From: Alexander Holler User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0 MIME-Version: 1.0 To: Thomas Meyer CC: linux-kernel@vger.kernel.org, airlied , "David S. Miller" , Will Deacon , Russell King - ARM Linux , stable@vger.kernel.org Subject: Re: "read_current_timer" undefined! References: <1350562575.1270.3.camel@localhost.localdomain> In-Reply-To: <1350562575.1270.3.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1927 Lines: 64 Hello, Am 18.10.2012 14:16, schrieb Thomas Meyer: > ERROR: "read_current_timer" [drivers/gpu/drm/udl/udl.ko] undefined! > ERROR: "read_current_timer" [crypto/tcrypt.ko] undefined! There is already a long thread about that, along with patches: https://lkml.org/lkml/2012/10/9/393 If you need a patch for 3.6, here is what I did before I found the above thread: ------------------------------ From a026451fdc98a5981e10a18ffa394e53a40b0691 Mon Sep 17 00:00:00 2001 From: Alexander Holler Date: Thu, 18 Oct 2012 07:29:39 +0200 Subject: [PATCH] arm: arch timer: export read_current_timer() Exporting read_current_timmer is needed e.g. for users of get_cycles() like udlfb which otherwise can't be build as a module. This seems to have been forgotten in commit 923df96b9f31b7d08d8438ff9677326d9537accf. Cc: stable@vger.kernel.org Signed-off-by: Alexander Holler --- arch/arm/kernel/arch_timer.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/arch_timer.c b/arch/arm/kernel/arch_timer.c index cf25880..7f24d1f 100644 --- a/arch/arm/kernel/arch_timer.c +++ b/arch/arm/kernel/arch_timer.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -232,6 +233,7 @@ int read_current_timer(unsigned long *timer_val) *timer_val = arch_counter_get_cntpct(); return 0; } +EXPORT_SYMBOL(read_current_timer); static struct clocksource clocksource_counter = { .name = "arch_sys_counter", -- 1.7.3.4 ------------------------------ Regards, Alexander -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/