Re: [LART] pc_keyb.c changes

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 1 Dec 2001 09:56:41 +0000 (GMT)


> 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/