Module Name: src
Committed By: rin
Date: Wed Jun 19 15:21:59 UTC 2024
Modified Files:
src/sys/arch/sun2/sun2: genassym.cf
Log Message:
sun2/genassym.cf: Skip KERNBASE for _MODULE
as it is not a compile-time constant; see sun2/vmparam.h.
It should not be, and is not actually, used for modules.
PR kern/58346
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sun2/sun2/genassym.cf
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/sun2/sun2/genassym.cf
diff -u src/sys/arch/sun2/sun2/genassym.cf:1.16 src/sys/arch/sun2/sun2/genassym.cf:1.17
--- src/sys/arch/sun2/sun2/genassym.cf:1.16 Sun Jan 14 22:34:54 2024
+++ src/sys/arch/sun2/sun2/genassym.cf Wed Jun 19 15:21:59 2024
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.16 2024/01/14 22:34:54 thorpej Exp $
+# $NetBSD: genassym.cf,v 1.17 2024/06/19 15:21:59 rin Exp $
#
# Copyright (c) 1982, 1990, 1993
@@ -129,7 +129,9 @@ define AM9513_CLK_CMD AM9513_CLK_CMD
define SUN2_CLK_TIMER_CLEAR_OUTPUT AM9513_CMD_CLEAR_OUTPUT(AM9513_TIMER2)
# kernel-isms
+ifndef _MODULE
define KERNBASE KERNBASE
+endif
define USPACE USPACE
define PAGE_SIZE PAGE_SIZE
define NBPG NBPG