Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/mac68k/mac68k Apply patch (from scottr):



details:   https://anonhg.NetBSD.org/src/rev/66897f2e8ceb
branches:  netbsd-1-4
changeset: 469865:66897f2e8ceb
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 16 23:06:15 1999 +0000

description:
Apply patch (from scottr):
  Correct minor problem in previous pull-up, preventing compilation
  of the kernel.

diffstat:

 sys/arch/mac68k/mac68k/sys_machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 3fd7a4b8023a -r 66897f2e8ceb sys/arch/mac68k/mac68k/sys_machdep.c
--- a/sys/arch/mac68k/mac68k/sys_machdep.c      Thu Dec 16 22:57:12 1999 +0000
+++ b/sys/arch/mac68k/mac68k/sys_machdep.c      Thu Dec 16 23:06:15 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_machdep.c,v 1.13.4.1 1999/11/29 21:36:28 he Exp $  */
+/*     $NetBSD: sys_machdep.c,v 1.13.4.2 1999/12/16 23:06:15 he Exp $  */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -215,8 +215,9 @@
                         */
                        if (!doall &&
                            (pa == 0 || ((int)addr & PGOFSET) == 0)) {
-                               if (pmap_extract(p->p_vmspace->vm_map.pmap,
-                                   addr, &pa) == FALSE)
+                               pa = pmap_extract(p->p_vmspace->vm_map.pmap,
+                                                 addr);
+                               if (pa == 0)
                                        doall = 1;
                        }
                        switch (req) {



Home | Main Index | Thread Index | Old Index