From a2071483d94ce4ef3ac6c5abfa4e4d8d54df88e4 Mon Sep 17 00:00:00 2001 From: nhorman Date: Mon, 26 Jul 2010 18:51:35 +0000 Subject: [PATCH] Bump the NR_CPUS define to 4096 in irqbalance. That makes cpumask allocations 1k in size each, which isn't great, but it lets the default build for irqbalance handle the currently maximum size kernel that can be built so we're not so tied in 1 irqbalance build to a particular kernel config Signed-off-by: Neil Horman git-svn-id: https://irqbalance.googlecode.com/svn/trunk@29 46b42954-3823-0410-bd82-eb80b452c9b5 --- cpumask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpumask.h b/cpumask.h index 8c6606a..001dda3 100644 --- a/cpumask.h +++ b/cpumask.h @@ -1,7 +1,7 @@ #ifndef __LINUX_CPUMASK_H #define __LINUX_CPUMASK_H -#define NR_CPUS 256 +#define NR_CPUS 4096 /* * Cpumasks provide a bitmap suitable for representing the * set of CPU's in a system, one bit position per CPU number.