From a5969cabbb4660eab42b6ef0412cbbd1200cf14d Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 12 Oct 2024 07:10:09 +0000
Subject: [PATCH] 修改led为gpio

---
 kernel/arch/x86/include/asm/entry-common.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/arch/x86/include/asm/entry-common.h b/kernel/arch/x86/include/asm/entry-common.h
index 4a382fb..5443851 100644
--- a/kernel/arch/x86/include/asm/entry-common.h
+++ b/kernel/arch/x86/include/asm/entry-common.h
@@ -78,6 +78,7 @@
 static __always_inline void arch_exit_to_user_mode(void)
 {
 	mds_user_clear_cpu_buffers();
+	amd_clear_divider();
 }
 #define arch_exit_to_user_mode arch_exit_to_user_mode
 

--
Gitblit v1.6.2