Re: [PATCH v4 1/4] genirq: define an empty function set_handle_irq() if !GENERIC_IRQ_MULTI_HANDLER

2020-09-17 Thread Leizhen (ThunderTown)
On 2020/9/17 17:32, Marc Zyngier wrote: > On 2020-09-17 04:46, Leizhen (ThunderTown) wrote: >> On 2020/9/15 16:43, Zhen Lei wrote: >>> To avoid compilation error if an irqchip driver references the function >>> set_handle_irq() but may not select GENERIC_IRQ_MULTI_HANDLER on some >>> systems. >>

Re: [PATCH v4 1/4] genirq: define an empty function set_handle_irq() if !GENERIC_IRQ_MULTI_HANDLER

2020-09-17 Thread Marc Zyngier
On 2020-09-17 04:46, Leizhen (ThunderTown) wrote: On 2020/9/15 16:43, Zhen Lei wrote: To avoid compilation error if an irqchip driver references the function set_handle_irq() but may not select GENERIC_IRQ_MULTI_HANDLER on some systems. Hi, Marc: Do you agree with this method? Otherwise,

Re: [PATCH v4 1/4] genirq: define an empty function set_handle_irq() if !GENERIC_IRQ_MULTI_HANDLER

2020-09-16 Thread Leizhen (ThunderTown)
On 2020/9/15 16:43, Zhen Lei wrote: > To avoid compilation error if an irqchip driver references the function > set_handle_irq() but may not select GENERIC_IRQ_MULTI_HANDLER on some > systems. Hi, Marc: Do you agree with this method? Otherwise, I should use "#ifdef CONFIG_GENERIC_IRQ_MULTI

[PATCH v4 1/4] genirq: define an empty function set_handle_irq() if !GENERIC_IRQ_MULTI_HANDLER

2020-09-15 Thread Zhen Lei
To avoid compilation error if an irqchip driver references the function set_handle_irq() but may not select GENERIC_IRQ_MULTI_HANDLER on some systems. For example, the Synopsys DesignWare APB interrupt controller (dw_apb_ictl) is used as the secondary interrupt controller on arc, csky, arm64, and