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 Hide inline functions from userland



details:   https://anonhg.NetBSD.org/src/rev/5b4fe9b1c4a1
branches:  trunk
changeset: 783531:5b4fe9b1c4a1
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 27 15:58:55 2012 +0000

description:
Hide inline functions from userland

diffstat:

 sys/arch/ia64/include/pte.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 12308d609b53 -r 5b4fe9b1c4a1 sys/arch/ia64/include/pte.h
--- a/sys/arch/ia64/include/pte.h       Thu Dec 27 15:17:01 2012 +0000
+++ b/sys/arch/ia64/include/pte.h       Thu Dec 27 15:58:55 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pte.h,v 1.1 2006/04/07 14:21:18 cherry Exp $   */
+/*     $NetBSD: pte.h,v 1.2 2012/12/27 15:58:55 martin Exp $   */
 
 /*-
  * Copyright (c) 2001 Doug Rabson
@@ -71,6 +71,7 @@
 
 typedef uint64_t pt_entry_t;
 
+#ifdef _KERNEL
 static __inline pt_entry_t
 pte_atomic_clear(pt_entry_t *ptep, uint64_t val)
 {
@@ -82,6 +83,7 @@
 {
        return (atomic_set_64(ptep, val));
 }
+#endif
 
 /*
  * A long-format VHPT entry.



Home | Main Index | Thread Index | Old Index