containerd/patch/3001-thp-add-support-sw_64.patch
panchenbo b4861fa3bb add loongarch64 sw_64 riscv64 to THP patch
(cherry picked from commit 4c358ce791a03d2dbc1dec48dab68930a2b561cc)
2024-07-26 14:44:21 +08:00

23 lines
489 B
Diff

From 6afcd6f23798ea8ef5d9eac7898cf83c2b710300 Mon Sep 17 00:00:00 2001
From: panchenbo <panchenbo@kylinsec.com.cn>
Date: Tue, 18 Jun 2024 15:05:15 +0800
Subject: [PATCH] thp add support sw_64
---
sys/thp_sw64.go | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 sys/thp_sw64.go
diff --git a/sys/thp_sw64.go b/sys/thp_sw64.go
new file mode 100644
index 0000000..a6db8d6
--- /dev/null
+++ b/sys/thp_sw64.go
@@ -0,0 +1,3 @@
+package sys
+
+const PRCTL_SYSCALL = 167
--
2.27.0