From 958e46acc8e900e8569dd467c1af9b8d2d019394 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 08:38:54 +0000
Subject: [PATCH] disable cpu isolcpus
---
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