]> git.baikalelectronics.ru Git - kernel.git/commit
x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
authorThomas Gleixner <tglx@linutronix.de>
Wed, 20 Dec 2017 17:02:34 +0000 (18:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 22 Dec 2017 19:13:00 +0000 (20:13 +0100)
commit4022c2a2ddd3982a6e2a40fcbed675f10c7de2ef
tree6c2316f44bbe075a1a0c764554cd7df41ec562f5
parentbb0b035ed01f6e7dc5dada1643832ffaec02f9ea
x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount

The recent cpu_entry_area changes fail to compile on 32-bit when BIGSMP=y
and NR_CPUS=512, because the fixmap area becomes too big.

Limit the number of CPUs with BIGSMP to 64, which is already way to big for
32-bit, but it's at least a working limitation.

We performed a quick survey of 32-bit-only machines that might be affected
by this change negatively, but found none.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig