All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clocksource: tegra: Port tegra20 clocksource to arm64
@ 2014-11-07  0:21 Anatol Pomozov
       [not found] ` <1415319715-21757-1-git-send-email-anatol.pomozov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Anatol Pomozov @ 2014-11-07  0:21 UTC (permalink / raw)
  To: pdeschrijver, swarren; +Cc: marc.zyngier, linux-kernel, Anatol Pomozov

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 <anatol.pomozov@gmail.com>
---
 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 <linux/sched_clock.h>
 #include <linux/delay.h>
 
+#ifdef CONFIG_ARM64
+#include <asm/time.h>
+#else
 #include <asm/mach/time.h>
 #include <asm/smp_twd.h>
+#endif
 
 #define RTC_SECONDS            0x08
 #define RTC_SHADOW_SECONDS     0x0c
-- 
2.1.0.rc2.206.gedb03e5


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-07  4:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07  0:21 [PATCH] clocksource: tegra: Port tegra20 clocksource to arm64 Anatol Pomozov
     [not found] ` <1415319715-21757-1-git-send-email-anatol.pomozov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-11-07  4:17   ` Stephen Warren
2014-11-07  4:17     ` Stephen Warren
     [not found]     ` <545C47BC.4050207-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-07  4:26       ` Anatol Pomozov
2014-11-07  4:26         ` Anatol Pomozov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.