Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/include Nix mb_* on ia64.
details: https://anonhg.NetBSD.org/src/rev/eda7b4db59b0
branches: trunk
changeset: 465595:eda7b4db59b0
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Nov 29 20:05:38 2019 +0000
description:
Nix mb_* on ia64.
diffstat:
sys/arch/ia64/include/lock.h | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
diffs (34 lines):
diff -r 2b96f12c191a -r eda7b4db59b0 sys/arch/ia64/include/lock.h
--- a/sys/arch/ia64/include/lock.h Fri Nov 29 20:05:29 2019 +0000
+++ b/sys/arch/ia64/include/lock.h Fri Nov 29 20:05:38 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.7 2019/01/10 17:05:56 scole Exp $ */
+/* $NetBSD: lock.h,v 1.8 2019/11/29 20:05:38 riastradh Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -117,24 +117,6 @@
}
static __inline void
-mb_read(void)
-{
- __asm __volatile("mf \n" ::: "memory");
-}
-
-static __inline void
-mb_write(void)
-{
- __asm __volatile("mf \n" ::: "memory");
-}
-
-static __inline void
-mb_memory(void)
-{
- __asm __volatile("mf \n" ::: "memory");
-}
-
-static __inline void
ia64_pause(void)
{
__asm __volatile("hint @pause" ::: "memory");
Home |
Main Index |
Thread Index |
Old Index