10 Nov
2002
10 Nov
'02
09:56
On Sun, 10 Nov 2002, Nik wrote:
I'm having trouble tring to compile a SuSE kernel patched with the packet patch, this is the result:
Try using the packet-2.4.20-pre11.patch.bz2 patch and then apply the incremental patch packet-2.4.20-pre11-suse.patch on top of that. It compiles without warnings but I haven't tested if it actually works. --- linux/drivers/block/pktcdvd.c.orig Sun Nov 10 10:37:49 2002 +++ linux/drivers/block/pktcdvd.c Sun Nov 10 10:38:16 2002 @@ -1182,7 +1182,7 @@ daemonize(); current->policy = SCHED_OTHER; - current->nice = -20; + set_user_nice(current, -20); sprintf(current->comm, pd->name); spin_lock_irq(¤t->sigmask_lock); -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340