Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945987AbbGQJQu (ORCPT ); Fri, 17 Jul 2015 05:16:50 -0400 Received: from mail-bl2on0148.outbound.protection.outlook.com ([65.55.169.148]:32412 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751706AbbGQJQr (ORCPT ); Fri, 17 Jul 2015 05:16:47 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; From: Alison Wang To: , , CC: Alison Wang Subject: [PATCH] arm: kernel: utilize hrtimer based broadcast Date: Fri, 17 Jul 2015 17:11:52 +0800 Message-ID: <1437124312-44700-1-git-send-email-b18965@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD007;1:59jVqZAKVqV20E6M9C47V6Ydpy5OrAsnIrpJAuD1ZO9LWdCYgwbtfjUL7lJO1ESL54u9g7V0lMJ43VEEmkU/G+tMeOk0EkpWikspXE02AA9wdoqZvHm3RQyPV3itkZMt7YtKHX0R6IDg7AX9wvQRQYbq1PdOC9IOz3iWpmaWdNnRXosZv5qIOo0HoVHxvhoB2dmHNfKH7KlEDRpJCsAWe0vb6usmlwFHzVd2TvyH8yPDOBjEfTvcurL1tDCrEUTCEliHG07+t07MCwz5oA+RZQEWdSmtP61UQJ/Os4HF3Ovg6MtoWwYP1IFtorNuPCC9kVmmtHISAejS7xqftEAEQ5Tpqm9Hj7emU8kolwDEVg+VY8hJBMGN13MaJWXm86hduREaRmaG7bxrBhDjvh1su/qU+hMDyRajPWw3LXqKQvRiQobKeZsyTrrhvHXTx/o4 X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(92566002)(104016003)(87936001)(105606002)(5001960100002)(5003940100001)(107886002)(189998001)(5001770100001)(85426001)(50466002)(33646002)(19580405001)(48376002)(46102003)(50226001)(36756003)(106466001)(77096005)(19580395003)(50986999)(47776003)(6806004)(2201001)(229853001)(77156002)(42262002)(4001430100001)(2101003);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR0301MB0868;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB0868;2:oj51Mu9chUmSPThxdhvKyL4K9KAXwIfYLGkpBnroZUhHGce+Jq7p4nuF4kckWv0F;3:Z0+TImZB/tWPckG7Fpho6IGEe+4dZRu6O4o0OaAmbDU3tuUw+xXEgJyHyngj4ge8NW6wfa/d6VgiTvgew2ey1Ktac6nxKHV18t4Q1ZjIPtpf2h85Jf30huMA9RQynx0LEYZkucB3lPqXIkAsBe+YxtyrbIEUtg2obC5+NuMy0lx5NYKRnZMTo9aVywL92XN7RBVM4QtoC9aMnY58Uoc48TLYzrSLxrvpBxOeDjmGD2U=;25:KG61A7gbqs+vMWOVVN9atFIoiTv1psEWYV9DrN2PmvQ3CWSon6CXz+zo7yLHSqV1+tkY+fY7b7E4/1l9WXXz1BzLqR2W25hzo5lAf/sJ+sT27sMGbW4bGn18jvq89r0HHwY/1dRgmMgdQvaz4FaZ7Rq8XJxmrj6nUw5I8b7hkPILgmqowY+GJP6lVQgluRxwVGA10+BysfLNwUNgKoFLVZJArdkYu1cEt3yxSvAD8ZVlugf4e6ibcu0Ausl38E2LqVuXTt2laIXnWauxNEZ6bw==;20:h5mzXsIF4wz5gnf/ZRfgUGqgw+WVXhhk8XvMLoRg2r05uiQ/IcpgUaDJ9as/Zz2c4THPorVzH9P+aTMfMJfveL/Q0QcIg39VUy1URQDQ47IDpZrF6NS+mcYbxAdIlSJvCUtX8fzE/hdx+zLMRSJq9MU1Iz0tgObIAqCGxHWTIPvyRPWlVZA+w+EhvC3lZfLb7xImcHrwe+up9TCHnxFR4rwces6QTFVXW4QNtxOjks/nq+j+V22F2Qocqsphwv8bDXkfk7/1mcdj2F8XaeHnUFL1O/qVNgOb/EJsVuMUg5bxeKMAXoJjTFi0cBZvccGKcEJ8IUG5+m19NVtveYT0bpBI80Uo3qNa2o1PeMoHFMY= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0868; BN3PR0301MB0868: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BN3PR0301MB0868;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0868; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB0868;4:A0OA+uag7r+aDXrvvbD/JXh9Hl46EUcJlQ6OIZ9oS+3MXTPJBUMcH8O5DGd8NKb10M8X/4Zv4l8XTlyM6AfjP3Q04o6cN+9wQ0NjmNFgycym37OoAFYBhXT0WyU7EWR/AqlFNh6aUWW+osN8L9ZBVlDpxh4UMTqUOlVx1r0CZQm0HbY7KJcJ5wj46lDMoo0OGeUTYZvIjVHjNFgG25+3fWiigvncLO6BTd0nFJOpQ+8PRKIyt5oL6sTZQ0S6mRIKVd4AFhcZ50TjRPeKp+1kb8biqMuM4ualEDMEL0ASvdA= X-Forefront-PRVS: 06400060E1 X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB0868;23:dZd4IjN+cnN5r0/ILpLsiE56RV8gPXot+/YeMDHYjBdLjsB9aZ40bjGOXNHP5+6mjrb2SYNaLxOSRiQ4JotReDSq6DJ5VAP/ylmOmC6sueuYsxJ2VdqMKAPGNjUAKWAl3iYGcdFZ7o0d2izjo4+eL+fuPYSv8OZcom+0HVq7pr8LVT2/KA4jstsfdvBQCdmXpF4fgrfpucLV4PBfYOD3lML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GHeyhYT33sFoCdfNmkmle32MA8m7wc+jw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2015 09:16:44.4672 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0868 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1049 Lines: 37 Hrtimer based broadcast is used on ARM platform. It can be registered as the tick broadcast device in the absence of a real external clock device. Signed-off-by: Alison Wang --- arch/arm/kernel/time.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index a66e37e..a9bc73c 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c @@ -12,6 +12,7 @@ * reading the RTC at bootup, etc... */ #include +#include #include #include #include @@ -121,5 +122,7 @@ void __init time_init(void) of_clk_init(NULL); #endif clocksource_of_init(); + + tick_setup_hrtimer_broadcast(); } } -- 2.1.0.27.g96db324 -- 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/