You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2023/01/23 17:17:54 UTC
[trafficserver] branch master updated: ppc64 stack grows down (#9326)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 4b4e40bc1 ppc64 stack grows down (#9326)
4b4e40bc1 is described below
commit 4b4e40bc14fcec0187135c1f8ad5b7174995556d
Author: Jered Floyd <je...@redhat.com>
AuthorDate: Mon Jan 23 12:17:47 2023 -0500
ppc64 stack grows down (#9326)
---
iocore/eventsystem/UnixEventProcessor.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
index 50b224082..200ef71d3 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -161,7 +161,7 @@ void
ThreadAffinityInitializer::setup_stack_guard(void *stack, int stackguard_pages)
{
#if !(defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__arm64__) || defined(__aarch64__) || \
- defined(__mips__))
+ defined(__mips__) || defined(__powerpc64__))
#error Unknown stack growth direction. Determine the stack growth direction of your platform.
// If your stack grows upwards, you need to change this function and the calculation of stack_begin in do_alloc_stack.
#endif