Commit b6fc016c authored by Jing Li's avatar Jing Li Committed by guzitao
Browse files

sw64: fix compile error of MMSIZE

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB73UR



--------------------------------

The MMSIZE macro has been renamed to MM_SIZE to avoid conflicts with
MMSIZE in fdtparams.c.

Signed-off-by: default avatarJing Li <jingli@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 85010445
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -704,7 +704,7 @@ static void __init setup_cpu_info(void)
#ifdef CONFIG_SUBARCH_C3B
static void __init setup_run_mode(void)
{
	if (*(unsigned long *)MMSIZE) {
	if (*(unsigned long *)MM_SIZE) {
		static_branch_disable(&run_mode_host_key);
		if (*(unsigned long *)MM_SIZE & EMUL_FLAG) {
			pr_info("run mode: emul\n");