[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB3PR04MB07407D83CC5F8F5F19A7207F4FB0@DB3PR04MB074.eurprd04.prod.outlook.com>
Date: Mon, 28 Dec 2015 07:18:58 +0000
From: Huan Wang <alison.wang@....com>
To: "arnd@...db.de" <arnd@...db.de>
CC: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Huan Wang <alison.wang@...escale.com>,
"mark.rutland@....com" <mark.rutland@....com>
Subject: RE: [PATCH] arm: kernel: utilize hrtimer based broadcast
Hi, Arnd,
Could you help to review the following patch? Thanks.
Best Regards,
Alison Wang
> On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote:
> > 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@...escale.com>
>
> This looks sensible to me. FWIW:
>
> Acked-by: Mark Rutland <mark.rutland@....com>
>
> Thanks,
> Mark.
>
> > ---
> > 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
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists