Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751292AbaKGAWB (ORCPT ); Thu, 6 Nov 2014 19:22:01 -0500 Received: from mail-pd0-f201.google.com ([209.85.192.201]:59065 "EHLO mail-pd0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbaKGAV7 (ORCPT ); Thu, 6 Nov 2014 19:21:59 -0500 From: Anatol Pomozov To: pdeschrijver@nvidia.com, swarren@nvidia.com Cc: marc.zyngier@arm.com, linux-kernel@vger.kernel.org, Anatol Pomozov Subject: [PATCH] clocksource: tegra: Port tegra20 clocksource to arm64 Date: Thu, 6 Nov 2014 16:21:54 -0800 Message-Id: <1415319715-21757-1-git-send-email-anatol.pomozov@gmail.com> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org register_persistent_clock() are in different headers in arm/arm64 Tested: Compiled the driver on 64bit platform and make sure that it works Signed-off-by: Anatol Pomozov --- drivers/clocksource/tegra20_timer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c index d2616ef..e0123c7 100644 --- a/drivers/clocksource/tegra20_timer.c +++ b/drivers/clocksource/tegra20_timer.c @@ -29,8 +29,12 @@ #include #include +#ifdef CONFIG_ARM64 +#include +#else #include #include +#endif #define RTC_SECONDS 0x08 #define RTC_SHADOW_SECONDS 0x0c -- 2.1.0.rc2.206.gedb03e5 -- 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/