x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
authorThomas Gleixner <[email protected]>
Wed, 20 Dec 2017 17:02:34 +0000 (18:02 +0100)
committerIngo Molnar <[email protected]>
Fri, 22 Dec 2017 19:13:00 +0000 (20:13 +0100)
commit7bbcbd3d1cdcbacd0f9f8dc4c98d550972f1ca30
tree6c2316f44bbe075a1a0c764554cd7df41ec562f5
parent6cbd2171e89b13377261d15e64384df60ecb530e
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 <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/Kconfig