Re: [PATCH] sparc32: convert to asm-generic/hardirq.h

From: David Miller
Date: Mon Aug 17 2009 - 21:31:22 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Sun, 16 Aug 2009 18:28:55 -0700 (PDT)

> From: Christoph Hellwig <hch@xxxxxx>
> Date: Tue, 4 Aug 2009 16:56:15 +0200
>
>> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
>
> Applied, thanks.
>
> Please post sparc patches at least CC:'d to sparclinux@xxxxxxxxxxxxxxx
> in the future.

I have to revert this, it breaks the build.

CC init/main.o
In file included from include/asm-generic/hardirq.h:6,
from /home/davem/src/GIT/sparc-next-2.6/arch/sparc/include/asm/hardirq_32.h:11,
from /home/davem/src/GIT/sparc-next-2.6/arch/sparc/include/asm/hardirq.h:6,
from include/linux/hardirq.h:10,
from include/linux/interrupt.h:12,
from /home/davem/src/GIT/sparc-next-2.6/arch/sparc/include/asm/irq_32.h:9,
from /home/davem/src/GIT/sparc-next-2.6/arch/sparc/include/asm/irq.h:6,
from include/linux/irqnr.h:10,
from include/linux/random.h:12,
from include/linux/stackprotector.h:6,
from init/main.c:17:
include/linux/irq.h:208: error: 'NR_IRQS' undeclared here (not in a function)
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/