Module Name:    src
Committed By:   skrll
Date:           Sat Jun 24 07:00:37 UTC 2017

Modified Files:
        src/sys/arch/mips/include: pte.h

Log Message:
Provide pte_set


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mips/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/mips/include/pte.h
diff -u src/sys/arch/mips/include/pte.h:1.24 src/sys/arch/mips/include/pte.h:1.25
--- src/sys/arch/mips/include/pte.h:1.24	Sun Sep  4 07:27:49 2016
+++ src/sys/arch/mips/include/pte.h	Sat Jun 24 07:00:37 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: pte.h,v 1.24 2016/09/04 07:27:49 skrll Exp $	*/
+/*	$NetBSD: pte.h,v 1.25 2017/06/24 07:00:37 skrll Exp $	*/
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -361,6 +361,12 @@ pte_cached_change(pt_entry_t pte, bool c
 	return pte;
 }
 
+static inline void
+pte_set(pt_entry_t *ptep, pt_entry_t pte)
+{
+	*ptep = pte;
+}
+
 #ifdef __PMAP_PRIVATE
 struct vm_page_md;
 

Reply via email to