Skip to content

Commit 54c1e76

Browse files
committed
use early-clobber in opal_config_asm.m4, remove irrelated code, and update copyright.
Signed-off-by: heyujiao99 <[email protected]>
1 parent 5d2bddc commit 54c1e76

File tree

5 files changed

+6
-25
lines changed

5 files changed

+6
-25
lines changed

config/opal_config_asm.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ AC_DEFUN([OPAL_CHECK_INLINE_C_GCC],[
539539
opal_gcc_inline_assign='"1: li %0,0" : "=&r"(ret)'
540540
;;
541541
riscv64*)
542-
opal_gcc_inline_assign='"li %0, 0" : "=r"(ret)'
542+
opal_gcc_inline_assign='"li %0, 0" : "=&r"(ret)'
543543
;;
544544
esac
545545

opal/include/opal/sys/cma.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@
5959
# define __NR_process_vm_readv 270
6060
# define __NR_process_vm_writev 271
6161

62-
# elif defined(PLATFORM_ARCH_RISCV)
63-
# define __NR_process_vm_readv 270
64-
# define __NR_process_vm_writev 271
65-
6662
# else
6763
# error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls"
6864
# endif

opal/include/opal/sys/riscv64/Makefile.am

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
#
2-
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3-
# University Research and Technology
4-
# Corporation. All rights reserved.
5-
# Copyright (c) 2004-2005 The University of Tennessee and The University
6-
# of Tennessee Research Foundation. All rights
7-
# reserved.
8-
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9-
# University of Stuttgart. All rights reserved.
10-
# Copyright (c) 2004-2005 The Regents of the University of California.
2+
# Copyright (c) 2025 Software System Team, SANECHIPS.
113
# All rights reserved.
12-
# Copyright (c) 2017 Research Organization for Information Science
13-
# and Technology (RIST). All rights reserved.
144
# $COPYRIGHT$
155
#
166
# Additional copyrights may follow

opal/include/opal/sys/riscv64/timer.h

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22
/*
3-
* Copyright (c) 2008 The University of Tennessee and The University
4-
* of Tennessee Research Foundation. All rights
5-
* reserved.
6-
* Copyright (c) 2016 Broadcom Limited. All rights reserved.
7-
* Copyright (c) 2016 Los Alamos National Security, LLC. All rights
8-
* reserved.
9-
* Copyright (c) 2021 Google, LLC. All rights reserved.
10-
* Copyright (c) 2022 Amazon.com, Inc. or its affiliates.
11-
* All Rights reserved.
3+
* Copyright (c) 2025 Software System Team, SANECHIPS.
4+
* All rights reserved.
125
* $COPYRIGHT$
136
*
147
* Additional copyrights may follow

opal/mca/timer/linux/timer_linux_component.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* Copyright (c) 2016 Broadcom Limited. All rights reserved.
1919
* Copyright (c) 2022 Amazon.com, Inc. or its affiliates.
2020
* All Rights reserved.
21+
* Copyright (c) 2025 Software System Team, SANECHIPS.
22+
* All rights reserved.
2123
* $COPYRIGHT$
2224
*
2325
* Additional copyrights may follow

0 commit comments

Comments
 (0)