[PATCH v3 11/31] arm64: IRQ handling

Arnd Bergmann arnd at arndb.de
Fri Sep 7 15:37:18 EDT 2012


On Friday 07 September 2012, Catalin Marinas wrote:

> +#define __inc_irq_stat(cpu, member)	__IRQ_STAT(cpu, member)++
> +#define __get_irq_stat(cpu, member)	__IRQ_STAT(cpu, member)

Isn't this something that the IRQ core code already keeps track of?

> +#endif /* __ASM_HARDIRQ_H */
> diff --git a/arch/arm64/include/asm/irq.h b/arch/arm64/include/asm/irq.h
> new file mode 100644
> index 0000000..a4e1cad
> --- /dev/null
> +++ b/arch/arm64/include/asm/irq.h
> @@ -0,0 +1,8 @@
> +#ifndef __ASM_IRQ_H
> +#define __ASM_IRQ_H
> +
> +#include <asm-generic/irq.h>
> +
> +extern void (*handle_arch_irq)(struct pt_regs *);
> +
> +#endif

Is this one still needed?

	Arnd



More information about the linux-arm-kernel mailing list