Re: linux-2.1.127-7 UP paride not compiling

Bernhard Rosenkraenzer (linux@microsoft.sucks.eu.org)
Wed, 4 Nov 1998 19:12:47 +0100 (CET)


On Wed, 4 Nov 1998, Stephen Frost wrote:

> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c -o pd.o pd.c
> pseudo.h:48: warning: `ps_spinlock' defined but not used
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c -o pcd.o pcd.c
> pcd.c: In function `pcd_sleep':
> pcd.c:562: structure has no member named `timeout'

Change lines 562/563 of pcd.c from
current->timeout = jiffies + cs;
schedule();
to
schedule_timeout(cs);

LLaP
bero

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