Commit:     3cb93db6e89bdffeae1f001bd87c9e96f9b634df
Parent:     dcf65cd41c980278f98b6fc0d9da52747e7d058f
Author:     Dmitry Torokhov <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 21 14:16:38 2007 -0500
Committer:  Dmitry Torokhov <[EMAIL PROTECTED]>
CommitDate: Wed Nov 21 14:16:38 2007 -0500

    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 <[EMAIL PROTECTED]>
    Acked-by: Mattia Dongili <[EMAIL PROTECTED]>
 drivers/char/sonypi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index 172d3e4..921c6d2 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -1434,7 +1434,7 @@ static int __devexit sonypi_remove(struct platform_device 
-       synchronize_sched();  /* Allow sonypi interrupt to complete. */
+       synchronize_irq(sonypi_device.irq);
        if (useinput) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to