[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080513153403.GA4474@linux.vnet.ibm.com>
Date: Tue, 13 May 2008 21:04:03 +0530
From: Dhaval Giani <dhaval@...ux.vnet.ibm.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Kevin Winchester <kjwinchester@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: Latest Linus git: kernel/sched.c:1216: warning: ‘init_hrtick’ defined but not used
On Tue, May 13, 2008 at 03:23:28PM +0200, Ingo Molnar wrote:
>
> * Kevin Winchester <kjwinchester@...il.com> wrote:
>
> > Hi Ingo,
> >
> > I got the above warning in my latest build. I assume it is because
> > init_hrtick() is only called from CONFIG_SMP sched_init_smp(), and I
> > have a HRT-enabled UP box.
> >
> > I could write up the simple patch to put #ifdef CONFIG_SMP around
> > init_hrtick(), but with all of the #ifdefs in that file, I figure it
> > is probably a little more complicated than that.
>
> the fix seems simple - see below. The #ifdef jungle ... less so.
I attempted to make it a bit easier to figure out that jungle at
http://lkml.org/lkml/2008/5/12/64 , if it helps.
--
regards,
Dhaval
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists