Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include Nix mb_* on sh3.



details:   https://anonhg.NetBSD.org/src/rev/e6349eeb0db0
branches:  trunk
changeset: 461542:e6349eeb0db0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Nov 29 20:06:08 2019 +0000

description:
Nix mb_* on sh3.

diffstat:

 sys/arch/sh3/include/lock.h |  20 +-------------------
 1 files changed, 1 insertions(+), 19 deletions(-)

diffs (32 lines):

diff -r 950608e2886d -r e6349eeb0db0 sys/arch/sh3/include/lock.h
--- a/sys/arch/sh3/include/lock.h       Fri Nov 29 20:05:59 2019 +0000
+++ b/sys/arch/sh3/include/lock.h       Fri Nov 29 20:06:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.17 2017/09/17 00:01:08 christos Exp $       */
+/*     $NetBSD: lock.h,v 1.18 2019/11/29 20:06:08 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -110,22 +110,4 @@
        *alp = __SIMPLELOCK_UNLOCKED;
 }
 
-static __inline void
-mb_read(void)
-{
-       __asm volatile("" : : : "memory");
-}
-
-static __inline void
-mb_write(void)
-{
-       __asm volatile("" : : : "memory");
-}
-
-static __inline void
-mb_memory(void)
-{
-       __asm volatile("" : : : "memory");
-}
-
 #endif /* !_SH3_LOCK_H_ */



Home | Main Index | Thread Index | Old Index