Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Oops, revert previous; fix build fo...



details:   https://anonhg.NetBSD.org/src/rev/4da15e3dad54
branches:  trunk
changeset: 745182:4da15e3dad54
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Feb 24 11:49:17 2020 +0000

description:
Oops, revert previous; fix build for PPC_OEA64 || PPC_OEA64_BRIDGE.
oea and booke seem to work without direct-mapped and physically
contiguous u-area.

diffstat:

 sys/arch/powerpc/powerpc/vm_machdep.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 088ea7bcad2a -r 4da15e3dad54 sys/arch/powerpc/powerpc/vm_machdep.c
--- a/sys/arch/powerpc/powerpc/vm_machdep.c     Mon Feb 24 11:45:30 2020 +0000
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c     Mon Feb 24 11:49:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.101 2020/02/21 13:38:05 rin Exp $     */
+/*     $NetBSD: vm_machdep.c,v 1.102 2020/02/24 11:49:17 rin Exp $     */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.101 2020/02/21 13:38:05 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.102 2020/02/24 11:49:17 rin Exp $");
 
 #include "opt_altivec.h"
 #include "opt_multiprocessor.h"
@@ -310,11 +310,6 @@
        bp->b_saveaddr = 0;
 }
 
-#if UPAGES > 1 && \
-    (!defined(__HAVE_CPU_UAREA_ROUTINES) || !defined(PMAP_MAP_POOLPAGE))
-#error "We need physically contiguous pages for u-area."
-#endif
-
 #ifdef __HAVE_CPU_UAREA_ROUTINES
 void *
 cpu_uarea_alloc(bool system)



Home | Main Index | Thread Index | Old Index