diff options
author | Youling Tang <tangyouling@loongson.cn> | 2021-05-06 10:02:50 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-05-11 22:21:21 +0200 |
commit | 6a73022ee3fdf7e60f2ba0a3a835dd421c05b5b5 (patch) | |
tree | 9225fdcc92d675efb0182ca2c4c5296a1fe0e8ca /arch/um/kernel/initrd.c | |
parent | cf5b6a94787315c13fdf6736931071eac7f434c6 (diff) | |
download | linux-6a73022ee3fdf7e60f2ba0a3a835dd421c05b5b5.tar.bz2 |
MIPS: Loongson64: Fix build error 'secondary_kexec_args' undeclared under !SMP
On the Loongson64 platform, if CONFIG_SMP is not set, the following build
error will occur:
arch/mips/loongson64/reset.c:133:2: error:'secondary_kexec_args' undeclared
Because the definition and declaration of secondary_kexec_args are in the
CONFIG_SMP, the secondary_kexec_args variable should be used in CONFIG_SMP.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/um/kernel/initrd.c')
0 files changed, 0 insertions, 0 deletions