Skip to content

Commit b2f1724

Browse files
authored
Merge branch 'master' into opal_atomics_clean_out_sparcv9_as_it_is_not_supported
2 parents 9eb5ef9 + 960c5f7 commit b2f1724

File tree

3 files changed

+3
-25
lines changed

3 files changed

+3
-25
lines changed

config/opal_config_asm.m4

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dnl Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
1717
dnl reserved.
1818
dnl Copyright (c) 2017 Amazon.com, Inc. or its affiliates. All Rights
1919
dnl reserved.
20+
dnl Copyright (c) 2020 Google, LLC. All rights reserved.
2021
dnl $COPYRIGHT$
2122
dnl
2223
dnl Additional copyrights may follow
@@ -1251,19 +1252,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
12511252
fi
12521253
OPAL_GCC_INLINE_ASSIGN='"1: li %0,0" : "=&r"(ret)'
12531254
;;
1254-
# There is no current difference between s390 and s390x
1255-
# But use two different defines in case some come later
1256-
# as s390 is 31bits while s390x is 64bits
1257-
s390-*)
1258-
opal_cv_asm_arch="S390"
1259-
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
1260-
[AC_MSG_ERROR([No atomic primitives available for $host])])
1261-
;;
1262-
s390x-*)
1263-
opal_cv_asm_arch="S390X"
1264-
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
1265-
[AC_MSG_ERROR([No atomic primitives available for $host])])
1266-
;;
12671255
sparc*-*)
12681256
# SPARC v9 (and above) are the only ones with 64bit support
12691257
# if compiling 32 bit, see if we are v9 (aka v8plus) or

opal/include/opal/sys/architecture.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* reserved.
1616
* Copyright (c) 2017 Research Organization for Information Science
1717
* and Technology (RIST). All rights reserved.
18+
* Copyright (c) 2020 Google, LLC. All rights reserved.
1819
* $COPYRIGHT$
1920
*
2021
* Additional copyrights may follow
@@ -41,8 +42,6 @@
4142
#define OPAL_SPARCV9_64 0062
4243
#define OPAL_ARM 0100
4344
#define OPAL_ARM64 0101
44-
#define OPAL_S390 0110
45-
#define OPAL_S390X 0111
4645
#define OPAL_BUILTIN_SYNC 0200
4746
#define OPAL_BUILTIN_GCC 0202
4847
#define OPAL_BUILTIN_NO 0203

opal/include/opal/sys/cma.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* reserved.
55
* Copyright (c) 2017 Research Organization for Information Science
66
* and Technology (RIST). All rights reserved.
7+
* Copyright (c) 2020 Google, LLC. All rights reserved.
78
* $COPYRIGHT$
89
*/
910

@@ -64,16 +65,6 @@
6465
#define __NR_process_vm_readv 270
6566
#define __NR_process_vm_writev 271
6667

67-
#elif OPAL_ASSEMBLY_ARCH == OPAL_S390
68-
69-
#define __NR_process_vm_readv 340
70-
#define __NR_process_vm_writev 341
71-
72-
#elif OPAL_ASSEMBLY_ARCH == OPAL_S390X
73-
74-
#define __NR_process_vm_readv 340
75-
#define __NR_process_vm_writev 341
76-
7768
#else
7869
#error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls"
7970
#endif

0 commit comments

Comments
 (0)