Re: [UBUNTU:acpi/ec] Use semaphore instead of spinlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bongani Hlope <[email protected]> wrote:
>
> > @@ -342,7 +341,10 @@ static int acpi_ec_poll_read(union acpi_
> >  			return_VALUE(-ENODEV);
> >  	}
> >
> > -	spin_lock_irqsave(&ec->poll.lock, flags);
> > +	if (down_interruptible(&ec->polling.sem)) {
>                                                      ^^^^
> isn't this suppose to be: &ec->poll.sem

Good question.   Did it get resolved?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux