Re: [patch] i8253: Convert i8253_lock to raw_spinlock

From: Dmitry Torokhov
Date: Wed Feb 17 2010 - 15:57:20 EST


On Feb 17, 2010, at 8:57 AM, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:

On Wed, Feb 17, 2010 at 04:47:10PM -0000, Thomas Gleixner wrote:

i8253_lock needs to be a real spinlock in preempt-rt, i.e. it can
not be converted to a sleeping lock.

Convert it to raw_spinlock and fix up all users.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Cc: Takashi Iwai <tiwai@xxxxxxx>
Cc: Jens Axboe <jens.axboe@xxxxxxxxxx>

Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

Acked-by: Dmitry Torokhov <dtor@xxxxxxx>

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