lkml.org 
[lkml]   [2006]   [Jun]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [UBUNTU:acpi/ec] Use semaphore instead of spinlock
FromRoland Dreier <>
DateWed, 14 Jun 2006 22:45:03 -0700
 > [UBUNTU:acpi/ec] Use semaphore instead of spinlock to get rid of missed
 > interrupts on ACPI EC (embedded controller)

 > -		spinlock_t lock;
 > +		struct semaphore sem;

 > +	init_MUTEX(&ec->poll.sem);

I think nowadays this should be a struct mutex...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-15 07:48    [from the cache]
©2003-2008