Skip to content

Commit 9eb5ef9

Browse files
committed
opal/asm: remove MIPS
This commit removes the code specific to MIPS. This architecture has been unsupported for some time. Open MPI will continue to work on MIPS with C11 and __atomic but will not longer use CMA for shared memory. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent a0567b5 commit 9eb5ef9

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
@@ -1233,14 +1233,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
12331233
[AC_MSG_ERROR([No atomic primitives available for $host])])
12341234
;;
12351235
1236-
mips-*|mips64*)
1237-
# Should really find some way to make sure that we are on
1238-
# a MIPS III machine (r4000 and later)
1239-
opal_cv_asm_arch="MIPS"
1240-
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
1241-
[AC_MSG_ERROR([No atomic primitives available for $host])])
1242-
;;
1243-
12441236
powerpc-*|powerpc64-*|powerpcle-*|powerpc64le-*|rs6000-*|ppc-*)
12451237
OPAL_CHECK_POWERPC_REG
12461238
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
@@ -39,7 +39,6 @@
3939
#define OPAL_SPARC 0060
4040
#define OPAL_SPARCV9_32 0061
4141
#define OPAL_SPARCV9_64 0062
42-
#define OPAL_MIPS 0070
4342
#define OPAL_ARM 0100
4443
#define OPAL_ARM64 0101
4544
#define OPAL_S390 0110

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
@@ -64,24 +64,6 @@
6464
#define __NR_process_vm_readv 270
6565
#define __NR_process_vm_writev 271
6666

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

8769
#define __NR_process_vm_readv 340

0 commit comments

Comments
 (0)