[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c36b816b-6d80-9542-45fc-507c5cc302fb@linaro.org>
Date: Thu, 4 Feb 2021 09:48:20 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: guoren@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-csky@...r.kernel.org,
Guo Ren <guoren@...ux.alibaba.com>,
Thomas Gleixner <tglx@...utronix.de>,
Marc Zyngier <maz@...nel.org>
Subject: Re: [PATCH v2 2/2] drivers/clocksource: Fixup csky,mptimer compile
error with CPU_CK610
On 04/02/2021 08:46, guoren@...nel.org wrote:
> From: Guo Ren <guoren@...ux.alibaba.com>
>
> The timer-mp-csky.c only could support CPU_CK860 and it will
> compile error with CPU_CK610.
>
> It has been selected in arch/csky/Kconfig.
It would be better if you fix the root cause of the compilation error.
The COMPILE_TEST is there for compilation test coverage when the changes
are touching a lot of drivers.
> Signed-off-by: Guo Ren <guoren@...ux.alibaba.com>
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Marc Zyngier <maz@...nel.org>
> ---
> drivers/clocksource/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> ---
> v2: Drop the string after bool,
> as suggested by Marc Zyngier <maz@...nel.org>
>
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index 14c7c4712478..d39e6ca86d25 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -662,7 +662,7 @@ config CLINT_TIMER
> driver is usually used for NoMMU RISC-V systems.
>
> config CSKY_MP_TIMER
> - bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
> + bool
> depends on CSKY
> select TIMER_OF
> help
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists