[PATCH v4 10/19] irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h

Arnd Bergmann arnd at arndb.de
Thu Jan 3 17:18:30 EST 2013


On Thursday 03 January 2013, Rob Herring wrote:
> On 01/03/2013 03:44 PM, Arnd Bergmann wrote:
> > On Thursday 03 January 2013, Rob Herring wrote:
> >> From: Rob Herring <rob.herring at calxeda.com>
> >>
> >> Now that we have GIC moved to drivers/irqchip and all GIC DT init for
> >> platforms using irqchip_init, move gic.h and update the remaining
> >> includes.
> > 
> > Can you elaborate on why this is done? Does any other code rely on the
> > header file being globally visible, or is there a more general reason
> > to move header files out of asm/ ?
> 
> KVM needs the register definitions for GIC distributor emulation.
> Platform SMP code still needs gic_secondary_init. Non-DT platform init
> still needs gic_init. And Russell did not like it being left in arch/arm
> with the rest moved out.
> 

Ok, makes sense.

	Arnd



More information about the linux-arm-kernel mailing list