From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Thu, 13 Dec 2012 09:41:44 +0900 Subject: [PATCH 1/6] ARM: clocksource: Initialise early In-Reply-To: <19362966.Oyuy1aUOFc@avalon> References: <1355195254-4563-1-git-send-email-horms+renesas@verge.net.au> <1355195254-4563-2-git-send-email-horms+renesas@verge.net.au> <19362966.Oyuy1aUOFc@avalon> Message-ID: <20121213004144.GJ13343@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Dec 11, 2012 at 01:51:27PM +0100, Laurent Pinchart wrote: > Hi Simon, > > Thanks for the patch. > > Could you please CC LKML on this one ? It targets a wider audience than the > SH-specific patches. Sure, good thinking. > > On Tuesday 11 December 2012 12:07:29 Simon Horman wrote: > > Initialise clock sources early, since some subsystems rely on them to > > initialize > > > > Signed-off-by: Simon Horman > > > > --- > > > > v3 > > * Initial post > > --- > > drivers/Makefile | 8 +++++--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/Makefile b/drivers/Makefile > > index a16a8d0..eba9b58 100644 > > --- a/drivers/Makefile > > +++ b/drivers/Makefile > > @@ -37,6 +37,11 @@ obj-$(CONFIG_XEN) += xen/ > > # regulators early, since some subsystems rely on them to initialize > > obj-$(CONFIG_REGULATOR) += regulator/ > > > > +# clocksource early, since some subsystems rely on them to initialize > > +ifndef CONFIG_ARCH_USES_GETTIMEOFFSET > > +obj-y += clocksource/ > > +endif > > + > > # tty/ comes before char/ so that the VT console is the boot-time > > # default. > > obj-y += tty/ > > @@ -114,9 +119,6 @@ obj-y += firmware/ > > obj-$(CONFIG_CRYPTO) += crypto/ > > obj-$(CONFIG_SUPERH) += sh/ > > obj-$(CONFIG_ARCH_SHMOBILE) += sh/ > > -ifndef CONFIG_ARCH_USES_GETTIMEOFFSET > > -obj-y += clocksource/ > > -endif > > obj-$(CONFIG_DCA) += dca/ > > obj-$(CONFIG_HID) += hid/ > > obj-$(CONFIG_PPC_PS3) += ps3/ > -- > Regards, > > Laurent Pinchart >