Module Name:    src
Committed By:   cherry
Date:           Sat Dec 24 17:11:31 UTC 2016

Modified Files:
        src/sys/arch/acorn26/acorn26: pmap.c

Log Message:
pass the bank handle to uvm_physseg_get_avail_start();

Should fix the acorn26 kernel build.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/acorn26/acorn26/pmap.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/arch/acorn26/acorn26/pmap.c
diff -u src/sys/arch/acorn26/acorn26/pmap.c:1.37 src/sys/arch/acorn26/acorn26/pmap.c:1.38
--- src/sys/arch/acorn26/acorn26/pmap.c:1.37	Fri Dec 23 07:15:27 2016
+++ src/sys/arch/acorn26/acorn26/pmap.c	Sat Dec 24 17:11:31 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.37 2016/12/23 07:15:27 cherry Exp $ */
+/* $NetBSD: pmap.c,v 1.38 2016/12/24 17:11:31 cherry Exp $ */
 /*-
  * Copyright (c) 1997, 1998, 2000 Ben Harris
  * All rights reserved.
@@ -102,7 +102,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.37 2016/12/23 07:15:27 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.38 2016/12/24 17:11:31 cherry Exp $");
 
 #include <sys/kernel.h> /* for cold */
 #include <sys/kmem.h>
@@ -311,7 +311,7 @@ pmap_steal_memory(vsize_t size, vaddr_t 
 			    ((char*)MEMC_PHYS_BASE +
 				ptoa(avail_start));
 			avail_start++;
-			uvm_physseg_set_avail_start(avail_start);
+			uvm_physseg_set_avail_start(bank, avail_start);
 
 			break;
 		}

Reply via email to