Skip to content
Commit 6a73022e authored by Youling Tang's avatar Youling Tang Committed by Thomas Bogendoerfer
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarYouling Tang <tangyouling@loongson.cn>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent cf5b6a94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment