Skip to content

Commit c8ed75b

Browse files
authored
Merge pull request #7426 from hjelmn/opal_atomics_clean_out_sparcv9_as_it_is_not_supported
opal/asm: remove MIPS
2 parents 58157f1 + b2f1724 commit c8ed75b

File tree

4 files changed

+0
-29
lines changed

4 files changed

+0
-29
lines changed

config/opal_config_asm.m4

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,14 +1234,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
12341234
[AC_MSG_ERROR([No atomic primitives available for $host])])
12351235
;;
12361236
1237-
mips-*|mips64*)
1238-
# Should really find some way to make sure that we are on
1239-
# a MIPS III machine (r4000 and later)
1240-
opal_cv_asm_arch="MIPS"
1241-
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
1242-
[AC_MSG_ERROR([No atomic primitives available for $host])])
1243-
;;
1244-
12451237
powerpc-*|powerpc64-*|powerpcle-*|powerpc64le-*|rs6000-*|ppc-*)
12461238
OPAL_CHECK_POWERPC_REG
12471239
if test "$ac_cv_sizeof_long" = "4" ; then

opal/include/opal/sys/architecture.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#define OPAL_SPARC 0060
4141
#define OPAL_SPARCV9_32 0061
4242
#define OPAL_SPARCV9_64 0062
43-
#define OPAL_MIPS 0070
4443
#define OPAL_ARM 0100
4544
#define OPAL_ARM64 0101
4645
#define OPAL_BUILTIN_SYNC 0200

opal/include/opal/sys/atomic.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ enum {
177177
#include "opal/sys/ia32/atomic.h"
178178
#elif OPAL_ASSEMBLY_ARCH == OPAL_IA64
179179
#include "opal/sys/ia64/atomic.h"
180-
#elif OPAL_ASSEMBLY_ARCH == OPAL_MIPS
181-
#include "opal/sys/mips/atomic.h"
182180
#elif OPAL_ASSEMBLY_ARCH == OPAL_POWERPC32
183181
#include "opal/sys/powerpc/atomic.h"
184182
#elif OPAL_ASSEMBLY_ARCH == OPAL_POWERPC64

opal/include/opal/sys/cma.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,24 +65,6 @@
6565
#define __NR_process_vm_readv 270
6666
#define __NR_process_vm_writev 271
6767

68-
#elif OPAL_ASSEMBLY_ARCH == OPAL_MIPS
69-
70-
#if _MIPS_SIM == _MIPS_SIM_ABI64
71-
72-
#define __NR_process_vm_readv 5304
73-
#define __NR_process_vm_writev 5305
74-
75-
#elif _MIPS_SIM == _MIPS_SIM_NABI32
76-
77-
#define __NR_process_vm_readv 6309
78-
#define __NR_process_vm_writev 6310
79-
80-
#else
81-
82-
#error "Unsupported MIPS architecture for process_vm_readv and process_vm_writev syscalls"
83-
84-
#endif
85-
8668
#else
8769
#error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls"
8870
#endif

0 commit comments

Comments
 (0)