lkml.org 
[lkml]   [2008]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Change comment in include linux/clk.h
Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> > I see several ARM implementation using mutexes for locking in these
> > functions. So I assume we never want to call them from interrupt
> > context, right?
>
> Correct. I'm not sure why anyone would even consider doing so.

I can't think of any reason to do so either, but having the comment
there makes me feel safer about having calls that might sleep or
irq-unsafe spinlocks in the implementation.

Haavard


\
 
 \ /
  Last update: 2008-10-05 21:59    [W:2.208 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site