CRIS architecture: Correct compile errors
PATCH 4/16 CRIS architecture: Correct compile errors
Include asm/irq.h to avoid undefined value warning.
--- hardirq.h | 1 + 1 file changed, 1 insertion(+)
include/asm-cris/hardirq.h +1 -0
@@ -1,6 +1,7 @@#ifndef __ASM_HARDIRQ_H#define __ASM_HARDIRQ_H +#include <asm/irq.h> #include <linux/threads.h> #include <linux/cache.h>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]
Quoted 3 lines · On Tue, 30 Oct 2007 10:30:00 +0100 Jesper Nilsson <[email protected]>…
Include
asm/irq.hto avoid undefined value warning.
When fixing build errors or warnings please always always quote the compiler output so that we can see what you're actually fixing. Saying "undefined value warning" is pretty useless.
When quoting gcc output, please ensure that LANG=C was set - otherwise gcc will emit utf gobbledigook which basically never makes it through the system unscathed.
include/asm-cris/hardirq.h line 7
Quoted 11 lines
diff -urBb -X /h/jespern/.exclude_files
clean_linux-2.6.23/include/asm-cris/hardirq.hlinux-2.6.23/include/asm-cris/hardirq.hinclude/asm-cris/hardirq.h +1
-0@@ -1,6 +1,7 @@#ifndef __ASM_HARDIRQ_H#define __ASM_HARDIRQ_H +#include <asm/irq.h> #include <linux/threads.h> #include <linux/cache.h>
hrm, OK. Not linux/irq.h? I guess not, as cris doesn't appear to support CONFIG_GENERIC_HARDIRQS.