Re: 2.4.22pre7aa1: net/bluetooth/cmtp/core.c failure

From: Marcel Holtmann (marcel@holtmann.org)
Date: Mon Jul 21 2003 - 16:57:04 EST


Hi Eyal,

> > URL:
> >
> > http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.22pre7aa1.bz2
> > http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.22pre7aa1/
>
> gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-aa/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> -malign-functions=4 -DMODULE -DMODVERSIONS -include
> /data2/usr/local/src/linux-2.4-pre-aa/include/linux/modversions.h
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=core -c -o core.o
> core.c
> core.c: In function `cmtp_session':
> core.c:301: structure has no member named `nice'
> make[3]: *** [core.o] Error 1
> make[3]: Leaving directory
> `/data2/usr/local/src/linux-2.4-pre-aa/net/bluetooth/cmtp'

this line

        current->nice = -15;

must be replaced with this

        set_user_nice(current, -15);

And this is not a problem of the 2.4.22-pre7, it is a fault in aa1 only.

Regards

Marcel

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



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:45 EST