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:21:10 UTC

[trafficserver] branch 9.2.x updated: ppc64 stack grows down (#9326)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new cc5da9ba0 ppc64 stack grows down (#9326)
cc5da9ba0 is described below

commit cc5da9ba0a155ea5a602e1c6a1a9478dbfc3e29b
Author: Jered Floyd <je...@redhat.com>
AuthorDate: Mon Jan 23 12:17:47 2023 -0500

    ppc64 stack grows down (#9326)
    
    (cherry picked from commit 4b4e40bc14fcec0187135c1f8ad5b7174995556d)
---
 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 bbe17f177..7980f0869 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -141,7 +141,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