linux-mips
[Top] [All Lists]

Re: [PATCH][MIPS] add #include <linux/profile.h> to arch/mips/kernel/tim

To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Subject: Re: [PATCH][MIPS] add #include <linux/profile.h> to arch/mips/kernel/time.c
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 13 Sep 2007 12:29:23 +0100
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org
In-reply-to: <200709130413.l8D4DS73011392@po-mbox301.hop.2iij.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070912232333.22c4f7bb.yoichi_yuasa@tripeaks.co.jp> <20070913.003319.41011558.anemo@mba.ocn.ne.jp> <200709130204.l8D244XV029841@po-mbox300.hop.2iij.net> <20070913.112917.76463355.nemoto@toshiba-tops.co.jp> <200709130413.l8D4DS73011392@po-mbox301.hop.2iij.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Thu, Sep 13, 2007 at 01:13:28PM +0900, Yoichi Yuasa wrote:

> > linux/arch/mips/kernel/time.c:142: error: implicit declaration of function 
> > 'profile_tick'
> > 
> > Proper fix would be including profile.h from time.c, but this is
> > irrelevant to i8259, so should be a separate patch.
> 
> I found a patch for it in my patch queue.
>  
> > Other parts looks good to me.  Thanks.
> 
> Add #include <linux/profile.h> to arch/mips/kernel/time.c
> It refer to CPU_PROFILING.
> 
> arch/mips/kernel/time.c: In function 'local_timer_interrupt':
> arch/mips/kernel/time.c:142: error: implicit declaration of function 
> 'profile_tick'
> arch/mips/kernel/time.c:142: error: 'CPU_PROFILING' undeclared (first use in 
> this function)
> arch/mips/kernel/time.c:142: error: (Each undeclared identifier is reported 
> only once
> arch/mips/kernel/time.c:142: error: for each function it appears in.)
> 
> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

Thanks, applied.

  Ralf

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