From 34207bdf5b91373c08fbebf038b43e5b8c9ed7cf Mon Sep 17 00:00:00 2001 From: gxw Date: Fri, 30 Jul 2021 18:11:12 +0800 Subject: [PATCH] Fixed typos about LOONGARCH64 --- Makefile.system | 2 +- common_loongarch64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.system b/Makefile.system index 4084390db..13c946ba1 100644 --- a/Makefile.system +++ b/Makefile.system @@ -856,7 +856,7 @@ BINARY_DEFINED = 1 endif ifeq ($(ARCH), loongarch64) -ifeq ($(CORE), LOONGSONG3R5) +ifeq ($(CORE), LOONGSON3R5) CCOMMON_OPT += -march=loongarch64 -mabi=lp64 FCOMMON_OPT += -march=loongarch64 -mabi=lp64 endif diff --git a/common_loongarch64.h b/common_loongarch64.h index 959e7e58a..e15539b5f 100644 --- a/common_loongarch64.h +++ b/common_loongarch64.h @@ -186,7 +186,7 @@ REALNAME: ;\ #define BUFFER_SIZE ( 32 << 20) -#define PAGESIZE (16UL << 1) +#define PAGESIZE (16UL << 10) #define FIXED_PAGESIZE (16UL << 10) #define HUGE_PAGESIZE ( 2 << 20)