Re: Latest Linus git: kernel/sched.c:1216: warning: âinit_hrtickâ defined but not used
From: Ingo Molnar
Date: Tue May 13 2008 - 13:18:14 EST
* Dhaval Giani <dhaval@xxxxxxxxxxxxxxxxxx> wrote:
> > > 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.
yeah, applied it - it definitely helps. Would be better to hide most of
these complications in include files though.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/