3) with CONFIG_NUMA set, there are undefined symbols building modules:
scripts/modpost vmlinux drivers/md/dm-mod.o drivers/net/e1000/e1000.o drivers/net/eepro100.o drivers/md/md.o drivers/net/mii.o fs/xfs/xfs.o
*** Warning: cpu_info__per_cpu [fs/xfs/xfs.ko] undefined!
*** Warning: cpu_info__per_cpu [drivers/md/md.ko] undefined!
*** Warning: cpu_to_node_map [drivers/md/md.ko] undefined!
exporting them in ia64_ksyms.c fixes the problem.
EXPORT_SYMBOL(clear_page);
#include <asm/processor.h>
-# ifndef CONFIG_NUMA
EXPORT_SYMBOL(cpu_info__per_cpu);
-# endif
EXPORT_SYMBOL(kernel_thread);
#include <asm/system.h>
EXPORT_SYMBOL(pfm_remove_alternate_syswide_subsystem);
#endif
+#ifdef CONFIG_NUMA
+#include <asm/numa.h>
+EXPORT_SYMBOL(cpu_to_node_map);
+#endif
+
#include <asm/unwind.h>
EXPORT_SYMBOL(unw_init_from_blocked_task);
EXPORT_SYMBOL(unw_init_running);