Hi Vojtech,
Do you still maintain the joystick driver?
I noticed that js_read() calls copy_to_user() with a spinlock acquired.
This could cause dead-locks on SMP, could you store the result in a
temporary buffer, and call copy_to_user() after you released the
spinlock?
And js_read()/js_poll are never called with disabled interrupts, you
could use spin_lock_irq() instead of spin_lock_irqsave().
-- manfred- 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/
This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:19 EST