Module Name:    src
Committed By:   skrll
Date:           Sat Jun 24 07:19:59 UTC 2017

Modified Files:
        src/sys/arch/powerpc/include/booke: pte.h

Log Message:
Provide a pte_set


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/powerpc/include/booke/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/powerpc/include/booke/pte.h
diff -u src/sys/arch/powerpc/include/booke/pte.h:1.8 src/sys/arch/powerpc/include/booke/pte.h:1.9
--- src/sys/arch/powerpc/include/booke/pte.h:1.8	Mon Jul 11 16:06:52 2016
+++ src/sys/arch/powerpc/include/booke/pte.h	Sat Jun 24 07:19:59 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: pte.h,v 1.8 2016/07/11 16:06:52 matt Exp $	*/
+/*	$NetBSD: pte.h,v 1.9 2017/06/24 07:19:59 skrll Exp $	*/
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -271,6 +271,12 @@ pte_make_kenter_pa(paddr_t pa, struct vm
 	return pt_entry;
 }
 
+static inline void
+pte_set(pt_entry_t *ptep, pt_entry_t pte)
+{
+	*ptep = pte;
+}
+
 #endif /* _KERNEL */
 #endif /* !_LOCORE */
 

Reply via email to