lkml.org 
[lkml]   [2008]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Latest Linus git: kernel/s ched.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@gmail.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


    \
     
     \ /
      Last update: 2008-05-13 17:39    [W:0.029 / U:89.436 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site