24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
From: renjianquan <renjianquan@kylinos.cn>
|
|
Date: Fri, 11 Oct 2024 09:22:44 +0000
|
|
Subject: =?utf-8?b?ITI4IOS/ruWkjXYxMem+meiKr1FQcm9jZXNz5o6l5Y+j5byC5bi46Zeu?=
|
|
=?utf-8?b?6aKYKOWvuTUuMTUuMTArZGZzZy0zb2syLjEw6L+b6KGM5L+u5pS5KSBNZXJnZSBw?=
|
|
=?utf-8?b?dWxsIHJlcXVlc3QgITI4IGZyb20gcmVuamlhbnF1YW4vb3Blbmt5bGluL25pbGU=?=
|
|
|
|
---
|
|
src/3rdparty/forkfd/forkfd_linux.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/3rdparty/forkfd/forkfd_linux.c b/src/3rdparty/forkfd/forkfd_linux.c
|
|
index a31ff59..7b5bd21 100644
|
|
--- a/src/3rdparty/forkfd/forkfd_linux.c
|
|
+++ b/src/3rdparty/forkfd/forkfd_linux.c
|
|
@@ -83,7 +83,7 @@ static int sys_clone(unsigned long cloneflags, int *ptid)
|
|
#elif defined(__arc__) || defined(__arm__) || defined(__aarch64__) || defined(__mips__) || \
|
|
defined(__nds32__) || defined(__hppa__) || defined(__powerpc__) || defined(__i386__) || \
|
|
defined(__x86_64__) || defined(__xtensa__) || defined(__alpha__) || defined(__riscv) || \
|
|
- defined(loongarch64)
|
|
+ defined(__loongarch64)
|
|
/* ctid and newtls are inverted on CONFIG_CLONE_BACKWARDS architectures,
|
|
* but since both values are 0, there's no harm. */
|
|
return syscall(__NR_clone, cloneflags, child_stack, ptid, ctid, newtls);
|