Module Name: src
Committed By: martin
Date: Thu Dec 27 15:58:56 UTC 2012
Modified Files:
src/sys/arch/ia64/include: pte.h
Log Message:
Hide inline functions from userland
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/ia64/include/pte.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/ia64/include/pte.h
diff -u src/sys/arch/ia64/include/pte.h:1.1 src/sys/arch/ia64/include/pte.h:1.2
--- src/sys/arch/ia64/include/pte.h:1.1 Fri Apr 7 14:21:18 2006
+++ src/sys/arch/ia64/include/pte.h Thu Dec 27 15:58:55 2012
@@ -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 @@ pte_atomic_set(pt_entry_t *ptep, uint64_
{
return (atomic_set_64(ptep, val));
}
+#endif
/*
* A long-format VHPT entry.