summaryrefslogtreecommitdiff
path: root/base/process/launch_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/process/launch_posix.cc')
-rw-r--r--base/process/launch_posix.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc
index ec584883b9..3fcb0b4770 100644
--- a/base/process/launch_posix.cc
+++ b/base/process/launch_posix.cc
@@ -728,7 +728,8 @@ NOINLINE pid_t CloneAndLongjmpInChild(unsigned long flags,
alignas(16) char stack_buf[PTHREAD_STACK_MIN];
#if defined(ARCH_CPU_X86_FAMILY) || defined(ARCH_CPU_ARM_FAMILY) || \
defined(ARCH_CPU_MIPS_FAMILY) || defined(ARCH_CPU_S390_FAMILY) || \
- defined(ARCH_CPU_PPC64_FAMILY)
+ defined(ARCH_CPU_PPC64_FAMILY) || defined(ARCH_CPU_LOONG_FAMILY) || \
+ defined(ARCH_CPU_RISCV_FAMILY)
// The stack grows downward.
void* stack = stack_buf + sizeof(stack_buf);
#else