CVSROOT:        /cvs/directfb
Module name:    linux-fusion
Changes by:     dok     20030605 16:32:09

Modified files:
        linux/drivers/char/fusion: call.c fusionee.c property.c 
                                   reactor.c ref.c skirmish.c 

Log message:
Fixed Fusion for 2.5 kernels! No more tons of kernel debug messages,
not even a single note about a process exitting with an active preempt counter.

1)
Call kmalloc() with GFP_ATOMIC instead of GFP_KERNEL which isn't allowed while a
spinlock is held. I'm not sure if we should use GFP_ATOMIC including __GFP_HIGH,
but it's the only GFP_* which doesn't include the offending __GFP_WAIT.

2)
Added missing spin_unlock() calls. I didn't forget them but dropped the
unlock in case the spinlock is thrown away and never locked again anyways.
Unfortunately these are always required for preemptible kernels because
spin_lock/unlock() increase/decrease the preempt counter.



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-cvs" as subject.

Reply via email to