Mon Jul 6 13:10:19 2020 UTC ()
Set cpu_psluserset, cpu_pslusermod, cpu_pslusermask for MODULAR.


(rin)
diff -r1.31 -r1.32 src/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c

cvs diff -r1.31 -r1.32 src/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c (expand / switch to context diff)
--- src/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c 2020/07/06 10:34:23 1.31
+++ src/sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c 2020/07/06 13:10:19 1.32
@@ -1,4 +1,4 @@
-/*	$NetBSD: ibm4xx_machdep.c,v 1.31 2020/07/06 10:34:23 rin Exp $	*/
+/*	$NetBSD: ibm4xx_machdep.c,v 1.32 2020/07/06 13:10:19 rin Exp $	*/
 /*	Original: ibm40x_machdep.c,v 1.3 2005/01/17 17:19:36 shige Exp $ */
 
 /*
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibm4xx_machdep.c,v 1.31 2020/07/06 10:34:23 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibm4xx_machdep.c,v 1.32 2020/07/06 13:10:19 rin Exp $");
 
 #include "ksyms.h"
 
@@ -113,6 +113,12 @@
 
 #if NKSYMS || defined(DDB) || defined(MODULAR)
 void *startsym, *endsym;
+#endif
+
+#ifdef MODULAR
+register_t cpu_psluserset = PSL_USERSET;
+register_t cpu_pslusermod = PSL_USERMOD;
+register_t cpu_pslusermask = PSL_USERMASK;
 #endif
 
 /*