From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 16 Oct 2024 01:20:19 +0000
Subject: [PATCH] 修改GPIO导出默认初始值
---
kernel/arch/um/include/asm/timex.h | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/kernel/arch/um/include/asm/timex.h b/kernel/arch/um/include/asm/timex.h
index e392a9a..9f27176 100644
--- a/kernel/arch/um/include/asm/timex.h
+++ b/kernel/arch/um/include/asm/timex.h
@@ -2,13 +2,8 @@
#ifndef __UM_TIMEX_H
#define __UM_TIMEX_H
-typedef unsigned long cycles_t;
-
-static inline cycles_t get_cycles (void)
-{
- return 0;
-}
-
#define CLOCK_TICK_RATE (HZ)
+#include <asm-generic/timex.h>
+
#endif
--
Gitblit v1.6.2