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 Remove unused functions pte_atomic_cle...
details: https://anonhg.NetBSD.org/src/rev/cc0912eba21f
branches: trunk
changeset: 346981:cc0912eba21f
user: scole <scole%NetBSD.org@localhost>
date: Mon Aug 08 17:20:17 2016 +0000
description:
Remove unused functions pte_atomic_clear() and pte_atomic_set()
diffstat:
sys/arch/ia64/include/pte.h | 24 +++++-------------------
1 files changed, 5 insertions(+), 19 deletions(-)
diffs (42 lines):
diff -r 777a7213868b -r cc0912eba21f sys/arch/ia64/include/pte.h
--- a/sys/arch/ia64/include/pte.h Mon Aug 08 16:40:39 2016 +0000
+++ b/sys/arch/ia64/include/pte.h Mon Aug 08 17:20:17 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.3 2016/08/05 17:02:59 scole Exp $ */
+/* $NetBSD: pte.h,v 1.4 2016/08/08 17:20:17 scole Exp $ */
/*-
* Copyright (c) 2001 Doug Rabson
@@ -70,28 +70,14 @@
typedef uint64_t pt_entry_t;
-#ifdef _KERNEL
-static __inline pt_entry_t
-pte_atomic_clear(pt_entry_t *ptep, uint64_t val)
-{
- return (atomic_clear_64(ptep, val));
-}
-
-static __inline pt_entry_t
-pte_atomic_set(pt_entry_t *ptep, uint64_t val)
-{
- return (atomic_set_64(ptep, val));
-}
-#endif
-
/*
* A long-format VHPT entry.
*/
struct ia64_lpte {
- pt_entry_t pte;
- uint64_t itir;
- uint64_t tag; /* includes ti */
- uint64_t chain; /* pa of collision chain */
+ pt_entry_t pte;
+ uint64_t itir;
+ uint64_t tag; /* includes ti */
+ uint64_t chain; /* pa of collision chain */
};
/*
Home |
Main Index |
Thread Index |
Old Index