linux/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 mips: Drop CONFIG_MTD_M25P80 in various defconfig files 2020-05-02 12:09:52 +02:00
ar7_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00
ath25_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00
ath79_defconfig mips: Drop CONFIG_MTD_M25P80 in various defconfig files 2020-05-02 12:09:52 +02:00
bcm47xx_defconfig mtd: rawnand: Clarify Kconfig entry MTD_NAND 2019-04-18 08:54:00 +02:00
bcm63xx_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00
bigsur_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
bmips_be_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00
bmips_stb_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00
capcella_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
cavium_octeon_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
ci20_defconfig MIPS: configs: Regenerate configs of Ingenic boards 2020-09-18 16:35:27 +02:00
cobalt_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
cu1000-neo_defconfig MIPS: configs: Regenerate configs of Ingenic boards 2020-09-18 16:35:27 +02:00
cu1830-neo_defconfig MIPS: configs: Regenerate configs of Ingenic boards 2020-09-18 16:35:27 +02:00
db1xxx_defconfig mips: Drop CONFIG_MTD_M25P80 in various defconfig files 2020-05-02 12:09:52 +02:00
decstation_64_defconfig MIPS: DEC: Add 64-bit DECstation defconfig 2018-11-06 15:37:24 -08:00
decstation_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
decstation_r4k_defconfig block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
e55_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
fuloong2e_defconfig USB: OTG: rename product list of devices 2020-06-19 08:58:55 +02:00
gcw0_defconfig MIPS: configs: Regenerate configs of Ingenic boards 2020-09-18 16:35:27 +02:00
generic_defconfig MIPS: generic: Enable CONFIG_JUMP_LABEL 2019-04-09 16:21:32 -07:00
gpr_defconfig MIPS: config: Remove left-over BACKLIGHT_LCD_SUPPORT 2019-06-11 15:46:21 -07:00
ip22_defconfig thermal/drivers/core: Remove the module Kconfig's option 2019-05-06 20:35:24 +08:00
ip27_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
ip28_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
ip32_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
jazz_defconfig SCSI misc on 20200402 2020-04-02 17:03:53 -07:00
jmr3927_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
lemote2f_defconfig USB: OTG: rename product list of devices 2020-06-19 08:58:55 +02:00
loongson1b_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
loongson1c_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
loongson3_defconfig MIPS: Loongson64: Select SMP in Kconfig to avoid build error 2020-10-12 11:22:40 +02:00
malta_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
malta_kvm_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
malta_kvm_guest_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
malta_qemu_32r6_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
maltaaprp_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
maltasmvp_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
maltasmvp_eva_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
maltaup_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
maltaup_xpa_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
mpc30x_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
mtx1_defconfig USB: rio500: Remove Rio 500 kernel driver 2019-10-04 10:53:36 +02:00
nlm_xlp_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
nlm_xlr_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
omega2p_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
pic32mzda_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
pistachio_defconfig mips: Drop CONFIG_MTD_M25P80 in various defconfig files 2020-05-02 12:09:52 +02:00
qi_lb60_defconfig MIPS: configs: Regenerate configs of Ingenic boards 2020-09-18 16:35:27 +02:00
rb532_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00
rbtx49xx_defconfig This pull request contains the following changes for MTD: 2019-05-12 17:57:52 -04:00
rm200_defconfig scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-02-24 14:59:01 -05:00
rs90_defconfig MIPS: configs: Regenerate configs of Ingenic boards 2020-09-18 16:35:27 +02:00
rt305x_defconfig mips: Drop CONFIG_MTD_M25P80 in various defconfig files 2020-05-02 12:09:52 +02:00
sb1250_swarm_defconfig drivers: remove the SGI SN2 IOC4 base support 2019-08-16 11:33:57 -07:00
tb0219_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
tb0226_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
tb0287_defconfig MIPS: configs: Remove useless UEVENT_HELPER_PATH 2019-06-11 15:46:21 -07:00
vocore2_defconfig sysctl: Remove the sysctl system call 2019-11-26 13:03:56 -06:00
workpad_defconfig MIPS: Regenerate defconfigs 2018-11-20 21:05:40 -08:00
xway_defconfig MIPS: configs: Cleanup old Kconfig options 2020-02-19 10:48:27 -08:00