Messages in this thread | | | Date | Tue, 13 May 2008 19:17:34 +0200 | From | Ingo Molnar <> | Subject | Re: Latest Linus git: kernel/s ched.c:1216: warning: ‘init hrtick ’ defined but not used |
| |
* Dhaval Giani <dhaval@linux.vnet.ibm.com> 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
| |