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/kernel/time/timekeeping_internal.h | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/kernel/kernel/time/timekeeping_internal.h b/kernel/kernel/time/timekeeping_internal.h index bcbb52d..4ca2787 100644 --- a/kernel/kernel/time/timekeeping_internal.h +++ b/kernel/kernel/time/timekeeping_internal.h @@ -1,12 +1,14 @@ /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TIMEKEEPING_INTERNAL_H #define _TIMEKEEPING_INTERNAL_H + +#include <linux/clocksource.h> +#include <linux/spinlock.h> +#include <linux/time.h> + /* * timekeeping debug functions */ -#include <linux/clocksource.h> -#include <linux/time.h> - #ifdef CONFIG_DEBUG_FS extern void tk_debug_account_sleep_time(const struct timespec64 *t); #else @@ -31,4 +33,7 @@ } #endif +/* Semi public for serialization of non timekeeper VDSO updates. */ +extern raw_spinlock_t timekeeper_lock; + #endif /* _TIMEKEEPING_INTERNAL_H */ -- Gitblit v1.6.2