changeset 50445:dbfef18ad510

8202200: set INCLUDE_SA to false on s390x by default Reviewed-by: ihse, erikj, jgeorge
author mbaesken
date Tue, 24 Apr 2018 17:56:25 +0200
parents 96d4658eb7f2
children b708a1e34fcc
files make/autoconf/jdk-options.m4 src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/jdk-options.m4	Mon Apr 30 09:15:44 2018 +0200
+++ b/make/autoconf/jdk-options.m4	Tue Apr 24 17:56:25 2018 +0200
@@ -238,6 +238,9 @@
   if test "x$OPENJDK_TARGET_OS" = xaix ; then
     INCLUDE_SA=false
   fi
+  if test "x$OPENJDK_TARGET_CPU" = xs390x ; then
+    INCLUDE_SA=false
+  fi
   AC_SUBST(INCLUDE_SA)
 
   # Compress jars
--- a/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h	Mon Apr 30 09:15:44 2018 +0200
+++ b/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h	Tue Apr 24 17:56:25 2018 +0200
@@ -75,9 +75,6 @@
 #include <asm/ptrace.h>
 #define user_regs_struct  pt_regs
 #endif
-#if defined(s390x)
-#include <asm/ptrace.h>
-#endif
 
 // This C bool type must be int for compatibility with Linux calls and
 // it would be a mistake to equivalence it to C++ bool on many platforms