On Wed, Oct 31, 2007 at 12:41:54AM -0400, Dmitry Torokhov wrote:
> Hi Mattia,
> 
> It looks like you are also looking after sonypi...
> 
> -- 
> Dmitry
> 
> Subject: Sonypi: use synchronize_irq instead of sycnronize_sched
> From: Dmitry Torokhov <[EMAIL PROTECTED]>
> 
> 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 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux/drivers/char/sonypi.c
> ===================================================================
> --- linux.orig/drivers/char/sonypi.c
> +++ linux/drivers/char/sonypi.c
> @@ -1432,7 +1432,7 @@ static int __devexit sonypi_remove(struc
>  {
>       sonypi_disable();
>  
> -     synchronize_sched();  /* Allow sonypi interrupt to complete. */
> +     synchronize_irq(sonypi_device.irq);
>       flush_scheduled_work();
>  
>       if (useinput) {
> 
-- 
mattia
:wq!
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to