Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Expose the atomicvec vectors via EXPORT_O...



details:   https://anonhg.NetBSD.org/src/rev/0360686ac636
branches:  trunk
changeset: 939370:0360686ac636
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Sep 26 08:21:27 2020 +0000

description:
Expose the atomicvec vectors via EXPORT_OBJECT so ksyms(4) address
lookups can find them.

diffstat:

 sys/arch/mips/mips/lock_stubs_llsc.S |  6 +++---
 sys/arch/mips/mips/lock_stubs_ras.S  |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r a432d8391ba9 -r 0360686ac636 sys/arch/mips/mips/lock_stubs_llsc.S
--- a/sys/arch/mips/mips/lock_stubs_llsc.S      Sat Sep 26 08:21:10 2020 +0000
+++ b/sys/arch/mips/mips/lock_stubs_llsc.S      Sat Sep 26 08:21:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock_stubs_llsc.S,v 1.12 2020/08/09 08:33:52 skrll Exp $       */
+/*     $NetBSD: lock_stubs_llsc.S,v 1.13 2020/09/26 08:21:27 simonb Exp $      */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: lock_stubs_llsc.S,v 1.12 2020/08/09 08:33:52 skrll Exp $")
+RCSID("$NetBSD: lock_stubs_llsc.S,v 1.13 2020/09/26 08:21:27 simonb Exp $")
 
 #include "assym.h"
 
@@ -341,7 +341,7 @@
 #endif /* !LOCKDEBUG */
 
        .rdata
-EXPORT(mips_llsc_locore_atomicvec)
+EXPORT_OBJECT(mips_llsc_locore_atomicvec)
        PTR_WORD        llsc_atomic_cas_uint
        PTR_WORD        llsc_atomic_cas_ulong
        PTR_WORD        llsc_ucas_32
diff -r a432d8391ba9 -r 0360686ac636 sys/arch/mips/mips/lock_stubs_ras.S
--- a/sys/arch/mips/mips/lock_stubs_ras.S       Sat Sep 26 08:21:10 2020 +0000
+++ b/sys/arch/mips/mips/lock_stubs_ras.S       Sat Sep 26 08:21:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock_stubs_ras.S,v 1.10 2019/04/06 03:06:26 thorpej Exp $      */
+/*     $NetBSD: lock_stubs_ras.S,v 1.11 2020/09/26 08:21:27 simonb Exp $       */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: lock_stubs_ras.S,v 1.10 2019/04/06 03:06:26 thorpej Exp $")
+RCSID("$NetBSD: lock_stubs_ras.S,v 1.11 2020/09/26 08:21:27 simonb Exp $")
 
 #include "assym.h"
 
@@ -482,7 +482,7 @@
 #endif /* !LOCKDEBUG */
 
        .data
-EXPORT(mips_locore_atomicvec)
+EXPORT_OBJECT(mips_locore_atomicvec)
        PTR_WORD        ras_atomic_cas_uint
        PTR_WORD        ras_atomic_cas_ulong
        PTR_WORD        ras_ucas_32



Home | Main Index | Thread Index | Old Index