Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/acorn26/acorn26 pass the bank handle to uvm_physseg...



details:   https://anonhg.NetBSD.org/src/rev/2ad8f79d8f3c
branches:  trunk
changeset: 819954:2ad8f79d8f3c
user:      cherry <cherry%NetBSD.org@localhost>
date:      Sat Dec 24 17:11:31 2016 +0000

description:
pass the bank handle to uvm_physseg_get_avail_start();

Should fix the acorn26 kernel build.

diffstat:

 sys/arch/acorn26/acorn26/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cfad8d8a0073 -r 2ad8f79d8f3c sys/arch/acorn26/acorn26/pmap.c
--- a/sys/arch/acorn26/acorn26/pmap.c   Sat Dec 24 16:39:55 2016 +0000
+++ b/sys/arch/acorn26/acorn26/pmap.c   Sat Dec 24 17:11:31 2016 +0000
@@ -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 @@
                            ((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;
                }



Home | Main Index | Thread Index | Old Index