From patchwork Thu Jun 2 09:35:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mattias Wallin X-Patchwork-Id: 1719 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:54:46 -0000 Delivered-To: patches@linaro.org Received: by 10.52.181.10 with SMTP id ds10cs359967vdc; Thu, 2 Jun 2011 02:36:05 -0700 (PDT) Received: by 10.14.124.15 with SMTP id w15mr204698eeh.191.1307007364354; Thu, 02 Jun 2011 02:36:04 -0700 (PDT) Received: from eu1sys200aog111.obsmtp.com (eu1sys200aog111.obsmtp.com [207.126.144.131]) by mx.google.com with SMTP id j7si1059317eeb.86.2011.06.02.02.35.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Jun 2011 02:36:04 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.131 is neither permitted nor denied by best guess record for domain of mattias.wallin@stericsson.com) client-ip=207.126.144.131; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.131 is neither permitted nor denied by best guess record for domain of mattias.wallin@stericsson.com) smtp.mail=mattias.wallin@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob111.postini.com ([207.126.147.11]) with SMTP ID DSNKTedZfGnlbSn7jm7BFG5QdT+MyZ5vwDCo@postini.com; Thu, 02 Jun 2011 09:36:03 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id F2BF094; Thu, 2 Jun 2011 09:35:53 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 9F3F5B59; Thu, 2 Jun 2011 09:35:53 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id C9655A80A9; Thu, 2 Jun 2011 11:35:48 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Thu, 2 Jun 2011 11:35:52 +0200 From: Mattias Wallin To: Thomas Gleixner , , Cc: Lee Jones , Mattias Wallin Subject: [PATCHv2 3/3] mach-ux500: Initialize the DB8500 PRCMU timer Date: Thu, 2 Jun 2011 11:35:49 +0200 Message-ID: <1307007349-1159-1-git-send-email-mattias.wallin@stericsson.com> X-Mailer: git-send-email 1.7.5.1 MIME-Version: 1.0 The clocksource and sched_clk registration needs to be started early so it is called from the platform sys_timer init. Signed-off-by: Mattias Wallin Acked-by: Linus Walleij --- arch/arm/mach-ux500/cpu.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index 1da23bb..7109921 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -141,6 +142,7 @@ static void __init ux500_timer_init(void) ux500_unknown_soc(); nmdk_timer_init(); + clksrc_db8500_prcmu_init(); } struct sys_timer ux500_timer = {