Page MenuHomeFreeBSD

D23512.id67805.diff
No OneTemporary

D23512.id67805.diff

Index: sys/amd64/include/param.h
===================================================================
--- sys/amd64/include/param.h
+++ sys/amd64/include/param.h
@@ -65,7 +65,7 @@
#define MACHINE_ARCH32 "i386"
#endif
-#if defined(SMP) || defined(KLD_MODULE)
+#ifdef SMP
#ifndef MAXCPU
#define MAXCPU 256
#endif
Index: sys/arm/include/param.h
===================================================================
--- sys/arm/include/param.h
+++ sys/arm/include/param.h
@@ -75,13 +75,13 @@
#define MACHINE_ARCH "arm" _V_SUFFIX _EB_SUFFIX
#endif
-#if defined(SMP) || defined(KLD_MODULE)
+#ifdef SMP
#ifndef MAXCPU
#define MAXCPU 4
#endif
#else
#define MAXCPU 1
-#endif /* SMP || KLD_MODULE */
+#endif
#ifndef MAXMEMDOM
#define MAXMEMDOM 1
Index: sys/arm64/include/param.h
===================================================================
--- sys/arm64/include/param.h
+++ sys/arm64/include/param.h
@@ -54,13 +54,13 @@
#define MACHINE_ARCH32 "armv7"
#endif
-#if defined(SMP) || defined(KLD_MODULE)
+#ifdef SMP
#ifndef MAXCPU
#define MAXCPU 256
#endif
#else
#define MAXCPU 1
-#endif /* SMP || KLD_MODULE */
+#endif
#ifndef MAXMEMDOM
#define MAXMEMDOM 2
Index: sys/i386/include/param.h
===================================================================
--- sys/i386/include/param.h
+++ sys/i386/include/param.h
@@ -58,13 +58,13 @@
#endif
#define MID_MACHINE MID_I386
-#if defined(SMP) || defined(KLD_MODULE)
+#ifdef SMP
#ifndef MAXCPU
#define MAXCPU 32
#endif
#else
#define MAXCPU 1
-#endif /* SMP || KLD_MODULE */
+#endif
#ifndef MAXMEMDOM
#define MAXMEMDOM 1
Index: sys/powerpc/include/param.h
===================================================================
--- sys/powerpc/include/param.h
+++ sys/powerpc/include/param.h
@@ -73,13 +73,13 @@
#endif
#endif
-#if defined(SMP) || defined(KLD_MODULE)
+#ifdef SMP
#ifndef MAXCPU
#define MAXCPU 256
#endif
#else
#define MAXCPU 1
-#endif /* SMP || KLD_MODULE */
+#endif
#ifndef MAXMEMDOM
#define MAXMEMDOM 8
Index: sys/riscv/include/param.h
===================================================================
--- sys/riscv/include/param.h
+++ sys/riscv/include/param.h
@@ -49,13 +49,13 @@
#define MACHINE_ARCH "riscv64"
#endif
-#if defined(SMP) || defined(KLD_MODULE)
+#ifdef SMP
#ifndef MAXCPU
#define MAXCPU 16
#endif
#else
#define MAXCPU 1
-#endif /* SMP || KLD_MODULE */
+#endif
#ifndef MAXMEMDOM
#define MAXMEMDOM 1

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 6, 3:12 PM (1 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38417740
Default Alt Text
D23512.id67805.diff (2 KB)

Event Timeline