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

From: Adrian Bunk
Date: Fri Aug 19 2005 - 18:40:12 EST


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@xxxxxxxxx>

--- 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);
sti();
}
/*==========================================================================*/

-
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/