Re: [PATCH] Fix SMP support on cdu535 cdrom driver
From: Felipe W Damasio
Date: Wed Sep 03 2003 - 08:49:05 EST
Felipe W Damasio wrote:
Hi,
Patch against 2.6-test4.
I'm not sure this is the right fix, since my knowledge on cdrom
drivers tends to /dev/zero...but, here we go:
Replace cli/sti on sony_sleep with wait_queue, using a device
spinlock to lock 'enable_interrupts' and the queueing stuff.
Which it based from workqueue::flush_workqueue, but I don't know if
the same algorithm applies to this block driver.
Could someone with more experience on block drivers review this?
Thanks.
Felipe
-
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/