Sonypi: use synchronize_irq instead of sycnronize_sched
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Nov 2007 19:16:38 +0000 (14:16 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Nov 2007 19:16:38 +0000 (14:16 -0500)
commit3cb93db6e89bdffeae1f001bd87c9e96f9b634df
treefee324cec1e8fe81ad05f5306e7c86a0dc87e10d
parentdcf65cd41c980278f98b6fc0d9da52747e7d058f
Sonypi: use synchronize_irq instead of sycnronize_sched

We know exactly what IRQ we are using, so synchronize_irq()
suits much better. Plus synchronize_sched() will not work
for us in -rt kernels.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Mattia Dongili <malattia@linux.it>
drivers/char/sonypi.c