[PATCH] ARM: arch.h: Include irq.h

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Nov 9 03:45:03 EST 2011


On Wed, Nov 09, 2011 at 02:02:44AM -0200, Fabio Estevam wrote:
> diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h
> index 7d19425..71f8bec 100644
> --- a/arch/arm/include/asm/mach/arch.h
> +++ b/arch/arm/include/asm/mach/arch.h
> @@ -7,6 +7,7 @@
>   * it under the terms of the GNU General Public License version 2 as
>   * published by the Free Software Foundation.
>   */
> +#include <asm/mach/irq.h>
>  
>  #ifndef __ASSEMBLY__

Just add a 'struct pt_regs;' declaration along side the other structure
declarations.  We don't need to increase the rats nest of includes to fix
this.



More information about the linux-arm-kernel mailing list