1
1

Merge pull request from hjelmn/opal_atomics_clean_out_s390_as_it_is_not_supported

opal/atomic: clean out s390(x)
Этот коммит содержится в:
Geoff Paulsen 2020-02-19 07:27:29 -06:00 коммит произвёл GitHub
родитель a0567b51ba 3d1495510c
Коммит 960c5f736f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 3 добавлений и 25 удалений
config
opal/include/opal/sys

@ -17,6 +17,7 @@ dnl Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
dnl reserved.
dnl Copyright (c) 2017 Amazon.com, Inc. or its affiliates. All Rights
dnl reserved.
dnl Copyright (c) 2020 Google, LLC. All rights reserved.
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
@ -1259,19 +1260,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
fi
OPAL_GCC_INLINE_ASSIGN='"1: li %0,0" : "=&r"(ret)'
;;
# There is no current difference between s390 and s390x
# But use two different defines in case some come later
# as s390 is 31bits while s390x is 64bits
s390-*)
opal_cv_asm_arch="S390"
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
[AC_MSG_ERROR([No atomic primitives available for $host])])
;;
s390x-*)
opal_cv_asm_arch="S390X"
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
[AC_MSG_ERROR([No atomic primitives available for $host])])
;;
sparc*-*)
# SPARC v9 (and above) are the only ones with 64bit support
# if compiling 32 bit, see if we are v9 (aka v8plus) or

@ -15,6 +15,7 @@
* reserved.
* Copyright (c) 2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2020 Google, LLC. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -42,8 +43,6 @@
#define OPAL_MIPS 0070
#define OPAL_ARM 0100
#define OPAL_ARM64 0101
#define OPAL_S390 0110
#define OPAL_S390X 0111
#define OPAL_BUILTIN_SYNC 0200
#define OPAL_BUILTIN_GCC 0202
#define OPAL_BUILTIN_NO 0203

@ -4,6 +4,7 @@
* reserved.
* Copyright (c) 2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2020 Google, LLC. All rights reserved.
* $COPYRIGHT$
*/
@ -82,16 +83,6 @@
#endif
#elif OPAL_ASSEMBLY_ARCH == OPAL_S390
#define __NR_process_vm_readv 340
#define __NR_process_vm_writev 341
#elif OPAL_ASSEMBLY_ARCH == OPAL_S390X
#define __NR_process_vm_readv 340
#define __NR_process_vm_writev 341
#else
#error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls"
#endif