Re: [-mm patch] drivers/cdrom/sbpcd.c: fix the compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/19/05, Adrian Bunk <[email protected]> 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 <[email protected]>
> 
> --- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux