* [PATCH 4/16] CRIS architecture: Correct compile errors
@ 2007-10-30 9:30 Jesper Nilsson
2007-10-30 22:14 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Jesper Nilsson @ 2007-10-30 9:30 UTC (permalink / raw)
To: Andrew Morton, Mikael Starvik, Jesper Nilsson, linux-kernel
Include asm/irq.h to avoid undefined value warning.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
---
hardirq.h | 1 +
1 file changed, 1 insertion(+)
diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/hardirq.h linux-2.6.23/include/asm-cris/hardirq.h
--- clean_linux-2.6.23/include/asm-cris/hardirq.h 2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.23/include/asm-cris/hardirq.h 2007-10-22 10:35:12.000000000 +0200
@@ -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 -- jesper.nilsson@axis.com
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH 4/16] CRIS architecture: Correct compile errors
2007-10-30 9:30 [PATCH 4/16] CRIS architecture: Correct compile errors Jesper Nilsson
@ 2007-10-30 22:14 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2007-10-30 22:14 UTC (permalink / raw)
To: Jesper Nilsson; +Cc: mikael.starvik, jesper.nilsson, linux-kernel
On Tue, 30 Oct 2007 10:30:00 +0100
Jesper Nilsson <jesper.nilsson@axis.com> wrote:
>
> Include asm/irq.h to 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.
> diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/include/asm-cris/hardirq.h linux-2.6.23/include/asm-cris/hardirq.h
> --- clean_linux-2.6.23/include/asm-cris/hardirq.h 2007-10-09 22:31:38.000000000 +0200
> +++ linux-2.6.23/include/asm-cris/hardirq.h 2007-10-22 10:35:12.000000000 +0200
> @@ -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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-30 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 9:30 [PATCH 4/16] CRIS architecture: Correct compile errors Jesper Nilsson
2007-10-30 22:14 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox