Module Name:    src
Committed By:   christos
Date:           Wed Jul 20 17:03:50 UTC 2016

Modified Files:
        src/sys/rump/librump/rumpkern: vm.c

Log Message:
add uvm_km_protect()


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/rump/librump/rumpkern/vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.169 src/sys/rump/librump/rumpkern/vm.c:1.170
--- src/sys/rump/librump/rumpkern/vm.c:1.169	Tue Jan 26 18:12:18 2016
+++ src/sys/rump/librump/rumpkern/vm.c	Wed Jul 20 13:03:50 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: vm.c,v 1.169 2016/01/26 23:12:18 pooka Exp $	*/
+/*	$NetBSD: vm.c,v 1.170 2016/07/20 17:03:50 christos Exp $	*/
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.169 2016/01/26 23:12:18 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.170 2016/07/20 17:03:50 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -781,6 +781,12 @@ uvm_km_free(struct vm_map *map, vaddr_t 
 		rumpuser_free((void *)vaddr, size);
 }
 
+int
+uvm_km_protect(struct vm_map *map, vaddr_t vaddr, vsize_t size, vm_prot_t prot)
+{
+	return 0;
+}
+
 struct vm_map *
 uvm_km_suballoc(struct vm_map *map, vaddr_t *minaddr, vaddr_t *maxaddr,
 	vsize_t size, int pageable, bool fixed, struct vm_map *submap)

Reply via email to