linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: kernel: utilize hrtimer based broadcast
@ 2015-07-17  9:11 Alison Wang
  2015-10-27  2:58 ` Huan Wang
  2015-10-27  8:18 ` Mark Rutland
  0 siblings, 2 replies; 11+ messages in thread
From: Alison Wang @ 2015-07-17  9:11 UTC (permalink / raw)
  To: linux-arm-kernel

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 <alison.wang@freescale.com>
---
 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 <linux/clk-provider.h>
+#include <linux/clockchips.h>
 #include <linux/clocksource.h>
 #include <linux/errno.h>
 #include <linux/export.h>
@@ -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

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

end of thread, other threads:[~2019-04-03  2:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17  9:11 [PATCH] arm: kernel: utilize hrtimer based broadcast Alison Wang
2015-10-27  2:58 ` Huan Wang
2015-10-27  8:18 ` Mark Rutland
2015-11-06  6:35   ` Huan Wang
2015-12-28  7:18   ` Huan Wang
2015-12-28 11:54     ` Arnd Bergmann
2015-12-29 13:54       ` Thomas Gleixner
2016-01-02 10:29         ` Russell King - ARM Linux
2016-01-05  9:42           ` Thomas Gleixner
2017-12-01  3:33             ` Alison Wang
2019-04-03  2:36             ` Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).