On Fri, Aug 24, 2012 at 6:19 PM, Dragos Diaconescu
<[email protected]> wrote:
> Hello,
>
> I try to compile the UML, from a linux kernel(make ARCH=um SUBARCH=i386)
> and I have configured it to use SMP (make config). I am getting the
> following error:
>
> CHK include/generated/utsrelease.h
> CC arch/um/kernel/asm-offsets.s
> In file included from include/linux/sched.h:77:0,
> from
> /home/dragos/work/linux-3.5.2/arch/x86/um/shared/sysdep/kernel-offsets.h:2,
> from arch/um/kernel/asm-offsets.c:1:
> include/linux/topology.h: In function ‘numa_node_id’:
> include/linux/topology.h:217:9: error: ‘current_thread’ undeclared (first
> use in this function)
> include/linux/topology.h:217:9: note: each undeclared identifier is reported
> only once for each function it appears in
> include/linux/topology.h:217:9: warning: left-hand operand of comma
> expression has no effect [-Wunused-value]
> make[1]: *** [arch/um/kernel/asm-offsets.s] Error 1
>
> Do you have any ideas?
config SMP
bool "Symmetric multi-processing support (EXPERIMENTAL)"
default n
depends on BROKEN
help
This option enables UML SMP support.
/me really wonders why you have CONFIG_BROKEN=y :-)
--
Thanks,
//richard
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel