* X86_64 compile error (crash.c)
@ 2005-12-29 15:48 Dieter Stüken
2005-12-29 16:18 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Dieter Stüken @ 2005-12-29 15:48 UTC (permalink / raw)
To: linux-kernel
I found this on 2.6.15-rc7 but it was on linux-2.6.14 already:
CC arch/x86_64/kernel/crash.o
In file included from include/asm/kexec.h:5,
from include/linux/kexec.h:9,
from arch/x86_64/kernel/crash.c:15:
include/asm/proto.h:66: error: syntax error before "cpu_initialized"
include/asm/proto.h:66: warning: type defaults to `int' in declaration of `cpu_initialized'
include/asm/proto.h:66: warning: data definition has no type or storage class
gmake[1]: *** [arch/x86_64/kernel/crash.o] error 1
#include <linux/cpumask.h> might be included in "asm-x86_64/proto.h"
however, it happens only with a very unusual configuration:
CONFIG_X86_64=y
CONFIG_KEXEC=y
CONFIG_COMPAT=n
else linux/cpumask.h gets included somewhere else...
Dieter.
--
Dieter Stüken, con terra GmbH, Münster
stueken@conterra.de
http://www.conterra.de/
(0)251-7474-501
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: X86_64 compile error (crash.c)
2005-12-29 15:48 X86_64 compile error (crash.c) Dieter Stüken
@ 2005-12-29 16:18 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2005-12-29 16:18 UTC (permalink / raw)
To: Dieter Stüken; +Cc: linux-kernel
Dieter Stüken <stueken@conterra.de> writes:
>
> #include <linux/cpumask.h> might be included in "asm-x86_64/proto.h"
>
> however, it happens only with a very unusual configuration:
>
> CONFIG_X86_64=y
> CONFIG_KEXEC=y
> CONFIG_COMPAT=n
>
> else linux/cpumask.h gets included somewhere else...
Thanks for the report. I think the right fix is to move the declaration
of cpu_initialized into smp.h. I did this in my tree for 2.6.16.
-Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-29 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-29 15:48 X86_64 compile error (crash.c) Dieter Stüken
2005-12-29 16:18 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox