* 2.6.4-rc2 (and earlier) - conflicting types for `linux_cpus' on sparc
@ 2004-03-05 14:42 Jakub Bogusz
0 siblings, 0 replies; only message in thread
From: Jakub Bogusz @ 2004-03-05 14:42 UTC (permalink / raw)
To: linux-kernel
CC arch/sparc/kernel/devices.o
arch/sparc/kernel/devices.c:18: error: conflicting types for `linux_cpus'
include/asm/smp.h:37: error: previous declaration of `linux_cpus'
make[1]: *** [arch/sparc/kernel/devices.o] Error 1
make: *** [arch/sparc/kernel] Error 2
kernel/devices.c contains:
struct prom_cpuinfo linux_cpus[32];
while asm-sparc/smp.h contains:
extern struct prom_cpuinfo linux_cpus[NR_CPUS];
I suppose it should be [NR_CPUS] in the first place too?
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-05 14:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 14:42 2.6.4-rc2 (and earlier) - conflicting types for `linux_cpus' on sparc Jakub Bogusz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®