[PATCH v5 1/4] ARM: deprecate mach/timex.h for !ARCH_MULTIPLATFORM
Linus Walleij
linus.walleij at linaro.org
Tue Nov 5 04:42:48 EST 2013
On Tue, Nov 5, 2013 at 10:12 AM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
> +config NEED_MACH_TIMEX_H
> + bool
> + help
> + Select this when mach/timex.h is required to provide special
> + definitions for this platform. This should be avoided when possible.
OK this is no blocker, and do proceed with this as the kernel sure
looks better after this than before it.
However as the next step I would prefer that we start to get rid of
all the NEED_MACH_FOO_H used for just refactoring out headers.
Can we not completely do away with this header next, and provide
the services it supplied locally in the mach-foo folder for these machines
instead so we do not need to have all these Kconfig things and preserve
the <mach/*> namespace for them?
The real trick is to make CLOCK_TICK_RATE and LATCH runtime
variables instead of a compile-time variables, right? Can't we do
this?
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list