Re: [PATCH v3 10/27] genirq: Split __irq_reserve_irqs from irq_alloc_descs

2013-06-10 Thread Yinghai Lu
On Mon, Jun 10, 2013 at 12:39 PM, Thomas Gleixner wrote: > On Fri, 7 Jun 2013, Yinghai Lu wrote: >> /** >> - * irq_alloc_descs - allocate and initialize a range of irq descriptors >> - * @irq: Allocate for specific irq number if irq >= 0 >> + * __irq_reserve_descs - reserve and initialize a r

Re: [PATCH v3 10/27] genirq: Split __irq_reserve_irqs from irq_alloc_descs

2013-06-10 Thread Alexander Gordeev
On Mon, Jun 10, 2013 at 12:16:16PM -0700, Yinghai Lu wrote: > On Mon, Jun 10, 2013 at 6:51 AM, Alexander Gordeev > wrote: > >> +/** > >> + * irq_alloc_descs - allocate and initialize a range of irq descriptors > >> + * @irq: Allocate for specific irq number if irq >= 0 > >> + * @from:Star

Re: [PATCH v3 10/27] genirq: Split __irq_reserve_irqs from irq_alloc_descs

2013-06-10 Thread Thomas Gleixner
On Fri, 7 Jun 2013, Yinghai Lu wrote: > /** > - * irq_alloc_descs - allocate and initialize a range of irq descriptors > - * @irq: Allocate for specific irq number if irq >= 0 > + * __irq_reserve_descs - reserve and initialize a range of irq descriptors Did you even bother to run docbook ? N

Re: [PATCH v3 10/27] genirq: Split __irq_reserve_irqs from irq_alloc_descs

2013-06-10 Thread Yinghai Lu
On Mon, Jun 10, 2013 at 6:51 AM, Alexander Gordeev wrote: > On Fri, Jun 07, 2013 at 03:30:56PM -0700, Yinghai Lu wrote: >> irq_alloc_descs and irq_reserve_irqs are almost the same. >> Separate code out to __irq_reserved_irqs, and other two reuse >> __irq_reserve_irqs. >> >> We will use __irq_reser

Re: [PATCH v3 10/27] genirq: Split __irq_reserve_irqs from irq_alloc_descs

2013-06-10 Thread Alexander Gordeev
On Fri, Jun 07, 2013 at 03:30:56PM -0700, Yinghai Lu wrote: > irq_alloc_descs and irq_reserve_irqs are almost the same. > Separate code out to __irq_reserved_irqs, and other two reuse > __irq_reserve_irqs. > > We will use __irq_reserve_irqs for coming ioapic hotplug support. > > Signed-off-by: Yi