lkml.org 
[lkml]   [2011]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 10/24] C6X: time management
From
Date
On Fri, 2011-09-09 at 16:19 +0200, Thomas Gleixner wrote:
> On Wed, 31 Aug 2011, Mark Salter wrote:
> > + cd->cpumask = cpumask_of(smp_processor_id());
> > +
> > + clockevents_register_device(cd);
> > +
> > + /* Set handler */
> > + if (cd->irq != NO_IRQ)
>
> How does a timer device work w/o interrupt ?

Heh, not very well. That check needs to happen earlier so we don't
register the device if we can't find the irq number.

--Mark




\
 
 \ /
  Last update: 2011-09-12 16:15    [from the cache]
©2003-2011 Jasper Spaans