[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKT61h9Ohimoc8FVDvR3KL6PNy3tk_Hxkp+fNdNUjvNoyJuApQ@mail.gmail.com>
Date: Fri, 22 Jul 2016 10:37:10 +0800
From: Wan ZongShun <mcuos.com@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Wan Zongshun <vw@...mu.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
devicetree@...r.kernel.org,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Russell King <linux@...linux.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 4/6] irqchip: add irqchip driver for nuc900
>
>> but I will remove the Macros related to nuc970 and avoid nuc970
>> interrupt using those Macro.
>>
>> But I still need hack this irqs.h like below, since here NR_IRQS defined
>> and it is need for nuc970 irqchip driver.
>>
>> #if !defined(CONFIG_SOC_NUC900)
>> #define NR_IRQS (IRQ_ADC+1)
>> #else
>> #define NR_IRQS 62
>> #endif
>
> Have you considered using CONFIG_SPARSE_IRQ? That would avoid the need
> for setting NR_IRQS entirely, but may also require more work elsewhere.
Sure, I will refer to your previous nuc900 series patches for SPARSE
IRQ, now I am waiting for rc1 release, and will send v3 patches.
>
> Arnd
--
---
Vincent Wan(Zongshun)
www.mcuos.com
Powered by blists - more mailing lists