From 23fa18eaa71266feff7ba8d83022d9e1cc83c65a Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:42:03 +0000
Subject: [PATCH] disable pwm7
---
kernel/arch/arm64/include/asm/vdso/clocksource.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/kernel/arch/arm64/include/asm/vdso/clocksource.h b/kernel/arch/arm64/include/asm/vdso/clocksource.h
index 1a47767..b054d9f 100644
--- a/kernel/arch/arm64/include/asm/vdso/clocksource.h
+++ b/kernel/arch/arm64/include/asm/vdso/clocksource.h
@@ -2,8 +2,10 @@
#ifndef __ASM_VDSOCLOCKSOURCE_H
#define __ASM_VDSOCLOCKSOURCE_H
-struct arch_clocksource_data {
- bool vdso_direct; /* Usable for direct VDSO access? */
-};
+#define VDSO_ARCH_CLOCKMODES \
+ /* vdso clocksource for both 32 and 64bit tasks */ \
+ VDSO_CLOCKMODE_ARCHTIMER, \
+ /* vdso clocksource for 64bit tasks only */ \
+ VDSO_CLOCKMODE_ARCHTIMER_NOCOMPAT
#endif
--
Gitblit v1.6.2