[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1315836765.11280.1.camel@deneb.redhat.com>
Date:	Mon, 12 Sep 2011 10:12:44 -0400
From:	Mark Salter <msalter@...hat.com>
To:	Thomas Gleixner <tglx@...utronix.de>
Cc:	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	ming.lei@...onical.com, stern@...land.harvard.edu
Subject: Re: [PATCH 10/24] C6X: time management
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
