Re: [LART] pc_keyb.c changes

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Dec 01 2001 - 04:56:41 EST


> if (rqst == PM_RESUME) {
> if (queue) { /* Aux port detected */
> - spin_lock_irqsave(&aux_count_lock, flags);
> + read_lock(&aux_count_lock);
> if ( aux_count == 0) { /* Mouse not in use */

Interrupts are off at this point. Its not an obvious detail without reading
the PM code, but it does cramp the style slightly 8(
-
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 : Fri Dec 07 2001 - 21:00:15 EST