[ltt-dev] [patch 3/7] OMAP ltt statedump include irq.h

KOSAKI Motohiro kosaki.motohiro at jp.fujitsu.com
Wed Feb 18 19:23:48 EST 2009


> Needed by ARM.
> 
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
> ---
>  ltt/ltt-statedump.c |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> Index: linux-omap-2.6/ltt/ltt-statedump.c
> ===================================================================
> --- linux-omap-2.6.orig/ltt/ltt-statedump.c	2009-02-15 18:28:09.000000000 +0000
> +++ linux-omap-2.6/ltt/ltt-statedump.c	2009-02-15 18:28:42.000000000 +0000
> @@ -30,6 +30,10 @@
>  #include <linux/fdtable.h>
>  #include <linux/swap.h>
>  
> +#ifdef CONFIG_GENERIC_HARDIRQS
> +#include <linux/irq.h>
> +#endif
> +

Why is this needed for arm?

irq.h says

/*
 * Please do not include this file in generic code.  There is currently
 * no requirement for any architecture to implement anything held
 * within this file.
 *
 * Thanks. --rmk
 */

So, irq.h including often bring strange problem.
There is irqnr.h for for architecture generic interface.

if irqnr.h don't have enough interface, let't me know this.






More information about the lttng-dev mailing list