Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include add more exceptions for standalone an...



details:   https://anonhg.NetBSD.org/src/rev/5a69b45e5d38
branches:  trunk
changeset: 449915:5a69b45e5d38
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 29 00:08:13 2019 +0000

description:
add more exceptions for standalone and modules

diffstat:

 sys/arch/sparc/include/vmparam.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 5b5bb12d3e40 -r 5a69b45e5d38 sys/arch/sparc/include/vmparam.h
--- a/sys/arch/sparc/include/vmparam.h  Fri Mar 29 00:07:39 2019 +0000
+++ b/sys/arch/sparc/include/vmparam.h  Fri Mar 29 00:08:13 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.45 2019/03/28 15:44:51 christos Exp $ */
+/*     $NetBSD: vmparam.h,v 1.46 2019/03/29 00:08:13 christos Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -72,7 +72,8 @@
 #define        PAGE_SHIFT              PAGE_SHIFT_SUN4CM
 #elif CPU_NTYPES == 1 && defined(SUN4)
 #define        PAGE_SHIFT              PAGE_SHIFT_SUN4
-#elif defined(_KERNEL) && !defined(_RUMPKERNEL)
+#elif defined(_KERNEL) && !defined(_RUMPKERNEL) \
+    && !defined(STANDALONE) && !defined(_MODULE)
 #error "Cannot determine page size"
 #else
 /* Default to max for userland */



Home | Main Index | Thread Index | Old Index