lkml.org 
[lkml]   [2005]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [-mm patch] drivers/cdrom/sbpcd.c: fix the compilation
    On 8/19/05, Adrian Bunk <bunk@stusta.de> wrote:
    > On Fri, Aug 19, 2005 at 04:33:31AM -0700, Andrew Morton wrote:
    > >...
    > > Changes since 2.6.13-rc5-mm1:
    > >...
    > > +drivers-cdrom-fix-up-schedule_timeout-usage.patch
    > >...
    >
    > I sell copies of gcc at reasonable prices...
    >
    > <-- snip -->
    >
    > ...
    > CC drivers/cdrom/sbpcd.o
    > ...
    > drivers/cdrom/sbpcd.c:830: warning: implicit declaration of function 'schedule_interruptible_timeout'
    > ...
    > LD .tmp_vmlinux1
    > drivers/built-in.o: In function `sbp_sleep':sbpcd.c:
    > (.text+0x7c4592): undefined reference to `schedule_interruptible_timeout'
    > make: *** [.tmp_vmlinux1] Error 1
    >
    > <-- snip -->
    >
    >
    > Signed-off-by: Adrian Bunk <bunk@stusta.de>
    >
    > --- linux-2.6.13-rc6-mm1-full/drivers/cdrom/sbpcd.c.old 2005-08-19 20:43:18.000000000 +0200
    > +++ linux-2.6.13-rc6-mm1-full/drivers/cdrom/sbpcd.c 2005-08-19 20:44:46.000000000 +0200
    > @@ -827,7 +827,7 @@
    > static void sbp_sleep(u_int time)
    > {
    > sti();
    > - schedule_interruptible_timeout(time);
    > + schedule_timeout_interruptible(time);

    ::sigh:: Thanks, Adrian!

    -Nish
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-08-20 01:47    [W:0.020 / U:62.720 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site