(hoping my first email wasn't successfully sent, disregard it if it was)
hello,
I've been having trouble enabling the scaleMP vSMP architecture support
(my cpu is an intel core 2 duo "conroe" e6750) with a xen-patched linux
kernel.
Everytime I compile the kernel, gcc complains about smp_processor_id()
being undeclared (and thus, ultimately fail when linking).
Enabling PC-compatible subarch type solves it.
here's the fail log:
In file included from include/linux/irqflags.h:47,
from include/asm/system.h:266,
from include/linux/spinlock.h:58,
from include/linux/module.h:10,
from init/version.c:11:
include/asm/mach-xen/asm/irqflags.h: In function 'raw_local_irq_disable':
include/asm/mach-xen/asm/irqflags.h:43: warning: implicit declaration of
function 'smp_processor_id'
LD init/built-in.o
LD .tmp_vmlinux1
arch/x86_64/kernel/built-in.o: In function `alternative_instructions':
(.init.text+0x19e0): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `alternative_instructions':
(.init.text+0x19f9): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `check_nmi_watchdog':
(.init.text+0x2a25): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `check_nmi_watchdog':
(.init.text+0x2a3f): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o: In function `nmi_cpu_busy':
nmi.c:(.init.text+0x2bc3): undefined reference to `smp_processor_id'
arch/x86_64/kernel/built-in.o:nmi.c:(.init.text+0x2bdd): more undefined
references to `smp_processor_id' follow
make: *** [.tmp_vmlinux1] Error 1
zsh: exit 2 make
I tried with vanilla kernels 2.6.20 and 2.6.22-1, xen-patched (as well
as with the gentoo xen-sources 2.6.20-xen-r6 ebuild) but to no avail.
Any help/guidelines would be appreciated, thanks,
-Oliver
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|