hvc_iseries.c: overwriting spin_lock_irqsave()

From: Alexey Dobriyan
Date: Mon Sep 25 2006 - 08:50:40 EST

Stephen, -git4 contains the following code


static int put_chars(uint32_t vtermno, const char *buf, int count)
unsigned long flags;

spin_lock_irqsave(&consolelock, flags);
if (viochar_is_console(pi) && !viopath_isactive(pi->lp)) {
spin_lock_irqsave(&consoleloglock, flags);

So, old flags are lost.
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/