Re: [PATCH] Fix build error if CONFIG_CEVT_R4K was not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Drat, and I was *sure* that I'd tested that in a non-SMTC
configuration!  Thanks!

          Kevin K.

Atsushi Nemoto wrote:
> This patch fixes build error introduced by "MIPS: SMTC:
> Fix xxx_clockevent_init() naming conflict for SMT".
>
> Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
> ---
>  arch/mips/include/asm/time.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/mips/include/asm/time.h b/arch/mips/include/asm/time.h
> index e46f23f..df6a430 100644
> --- a/arch/mips/include/asm/time.h
> +++ b/arch/mips/include/asm/time.h
> @@ -61,7 +61,7 @@ static inline int mips_clockevent_init(void)
>  	extern int smtc_clockevent_init(void);
>  
>  	return smtc_clockevent_init();
> -#elif CONFIG_CEVT_R4K
> +#elif defined(CONFIG_CEVT_R4K)
>  	return r4k_clockevent_init();
>  #else
>  	return -ENXIO;
>   



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux