kernel_optimize_test/arch/mips/configs
Tiezhu Yang 1062fc45d1 MIPS: Loongson64: Select SMP in Kconfig to avoid build error
In the current code, CONFIG_SMP can be set as N by user on the Loongson
platform, then there exists the following build error under !CONFIG_SMP:

  CC      arch/mips/kernel/asm-offsets.s
In file included from ./include/linux/gfp.h:9:0,
                 from ./include/linux/xarray.h:14,
                 from ./include/linux/radix-tree.h:18,
                 from ./include/linux/fs.h:15,
                 from ./include/linux/compat.h:17,
                 from arch/mips/kernel/asm-offsets.c:12:
./include/linux/topology.h: In function 'numa_node_id':
./include/linux/topology.h:119:2: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
  return cpu_to_node(raw_smp_processor_id());
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:117: recipe for target 'arch/mips/kernel/asm-offsets.s' failed
make[1]: *** [arch/mips/kernel/asm-offsets.s] Error 1

Select SMP in Kconfig to avoid the above build error and then remove
CONFIG_SMP=y in loongson3_defconfig.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2020-10-12 11:22:40 +02:00
..
generic
ar7_defconfig
ath25_defconfig
ath79_defconfig
bcm47xx_defconfig
bcm63xx_defconfig
bigsur_defconfig
bmips_be_defconfig
bmips_stb_defconfig
capcella_defconfig
cavium_octeon_defconfig
ci20_defconfig
cobalt_defconfig
cu1000-neo_defconfig
cu1830-neo_defconfig
db1xxx_defconfig
decstation_64_defconfig
decstation_defconfig
decstation_r4k_defconfig
e55_defconfig
fuloong2e_defconfig
gcw0_defconfig
generic_defconfig
gpr_defconfig
ip22_defconfig
ip27_defconfig
ip28_defconfig
ip32_defconfig
jazz_defconfig
jmr3927_defconfig
lemote2f_defconfig
loongson1b_defconfig
loongson1c_defconfig
loongson3_defconfig MIPS: Loongson64: Select SMP in Kconfig to avoid build error 2020-10-12 11:22:40 +02:00
malta_defconfig
malta_kvm_defconfig
malta_kvm_guest_defconfig
malta_qemu_32r6_defconfig
maltaaprp_defconfig
maltasmvp_defconfig
maltasmvp_eva_defconfig
maltaup_defconfig
maltaup_xpa_defconfig
mpc30x_defconfig
mtx1_defconfig
nlm_xlp_defconfig
nlm_xlr_defconfig
omega2p_defconfig
pic32mzda_defconfig
pistachio_defconfig
qi_lb60_defconfig
rb532_defconfig
rbtx49xx_defconfig
rm200_defconfig
rs90_defconfig
rt305x_defconfig
sb1250_swarm_defconfig
tb0219_defconfig
tb0226_defconfig
tb0287_defconfig
vocore2_defconfig
workpad_defconfig
xway_defconfig