linux-mips
[Top] [All Lists]

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

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] Fix build error if CONFIG_CEVT_R4K was not defined
From: "Kevin D. Kissell" <kevink@paralogos.com>
Date: Mon, 06 Apr 2009 17:09:36 +0200
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <1239030295-14080-1-git-send-email-anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1239030295-14080-1-git-send-email-anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
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@mba.ocn.ne.jp>
> ---
>  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;
>   


<Prev in Thread] Current Thread [Next in Thread>