Re: [PATCH] kernel: mark all struct k_clock instances const
From: Christoph Hellwig
Date: Tue May 23 2017 - 03:04:56 EST
On Tue, May 23, 2017 at 09:01:14AM +0200, Thomas Gleixner wrote:
> > We can require the driver to be built into the kernel, which seems pretty
> > reasonable for a timer. It's only selectable on IA64 anyway.
>
> That still requires that we "register" the clock as it's SN2 specific and
> we don't want to end up with a non initialized clock ....
I'd much rather have a call to mmtimer_init from the core clock
code than having to conditionally export the array..
But maybe we can actually drop the mmtimer now - IA64-based Altix
systems haven't been built for a while and anyone requiring its
special clock will run a distro of sorts anyway.