David Hildenbrand
2019-Dec-24 09:28 UTC
[PATCH RFC v4 00/13] virtio-mem: paravirtualized memory
> Am 24.12.2019 um 08:04 schrieb teawater <teawaterz at linux.alibaba.com>: > > ?Hi David, > > Thanks for your work. > > I Got following build fail if X86_64_ACPI_NUMA is n with rfc3 and rfc4: > make -j8 bzImage > GEN Makefile > DESCEND objtool > CALL /home/teawater/kernel/linux-upstream3/scripts/atomic/check-atomics.sh > CALL /home/teawater/kernel/linux-upstream3/scripts/checksyscalls.sh > CHK include/generated/compile.h > CC drivers/virtio/virtio_mem.o > /home/teawater/kernel/linux-upstream3/drivers/virtio/virtio_mem.c: In function ?virtio_mem_translate_node_id?: > /home/teawater/kernel/linux-upstream3/drivers/virtio/virtio_mem.c:478:10: error: implicit declaration of function ?pxm_to_node? [-Werror=implicit-function-declaration] > node = pxm_to_node(node_id); > ^~~~~~~~~~~ > cc1: some warnings being treated as errors > /home/teawater/kernel/linux-upstream3/scripts/Makefile.build:265: recipe for target 'drivers/virtio/virtio_mem.o' failed > make[3]: *** [drivers/virtio/virtio_mem.o] Error 1 > /home/teawater/kernel/linux-upstream3/scripts/Makefile.build:503: recipe for target 'drivers/virtio' failed > make[2]: *** [drivers/virtio] Error 2 > /home/teawater/kernel/linux-upstream3/Makefile:1649: recipe for target 'drivers' failed > make[1]: *** [drivers] Error 2 > /home/teawater/kernel/linux-upstream3/Makefile:179: recipe for target 'sub-make' failed > make: *** [sub-make] Error 2 >Thanks Hui, So it has to be wrapped in an ifdef, thanks! Cheers!