From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5385B2DF.9050204@xenomai.org> Date: Wed, 28 May 2014 11:56:47 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <1401236892.2728.11.camel@nswph.gme.net.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] [PATCH 2/2] Add ipipe support for Ti da850 board List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Howard , "xenomai@xenomai.org" On 05/28/2014 02:37 AM, Peter Howard wrote: > +#ifdef CONFIG_IPIPE > + ipipe_handle_demuxed_irq( > + irq_find_mapping(d->irq_domain, > + d->chip.base + bit)); > +#else > generic_handle_irq( > irq_find_mapping(d->irq_domain, > d->chip.base + bit)); > +#endif /* CONFIG_IPIPE */ > } > } > chained_irq_exit(irq_desc_get_chip(desc), desc); > You do not need the #ifdef CONFIG_IPIPE here, ipipe_handle_demuxed_irq is replaced with generic_handle_irq when CONFIG_IPIPE is off. -- Gilles.