From 822b873c7c6449fa44e05f14c7ed9e1425dab52b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 15 Apr 2026 22:59:12 +0200 Subject: [PATCH] Automatically assume BIGNUMA if more than 256 CPUs --- driver/others/init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/driver/others/init.c b/driver/others/init.c index f27955184b..b11e10d381 100644 --- a/driver/others/init.c +++ b/driver/others/init.c @@ -72,6 +72,12 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "common.h" +#if (MAX_CPU_NUMBER > 256) +#ifndef BIGNUMA +#define BIGNUMA +#endif +#endif + #if defined(OS_LINUX) && defined(SMP) #define _GNU_SOURCE