From 2026102cdfdd1c967179eb4b42a10aa44c44465b Mon Sep 17 00:00:00 2001 From: zhangfanfan2 Date: Wed, 14 Apr 2021 11:27:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E6=97=B6=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/main.c b/platform/main.c index ebdada8f..05270cbb 100644 --- a/platform/main.c +++ b/platform/main.c @@ -156,11 +156,9 @@ LITE_OS_SEC_TEXT_INIT INT32 main(VOID) OsSetMainTask(); OsCurrTaskSet(OsGetMainTask()); - /* set smp system counter freq */ -#if (LOSCFG_KERNEL_SMP == YES) + /* set system counter freq */ #ifndef LOSCFG_TEE_ENABLE HalClockFreqWrite(OS_SYS_CLOCK); -#endif #endif /* system and chip info */