x86/smpboot: Fix cpu_init_udelay=10000 corner case boot parameter misbehavior
authorLen Brown <[email protected]>
Fri, 16 Oct 2015 04:14:28 +0000 (00:14 -0400)
committerIngo Molnar <[email protected]>
Mon, 19 Oct 2015 07:14:41 +0000 (09:14 +0200)
commitf1ccd249319efca4ee4faf1d904f5a362cac7c81
treec92f1785121f3c0973c4627c15435688be336d91
parentc0ff971ef9acacd4d2caa508e444edad958dead9
x86/smpboot: Fix cpu_init_udelay=10000 corner case boot parameter misbehavior

For legacy machines cpu_init_udelay defaults to 10,000.
For modern machines it is set to 0.

The user should be able to set cpu_init_udelay to
any value on the cmdline, including 10,000.

Before this patch, that was seen as "unchanged from default"
and thus on a modern machine, the user request was ignored
and the delay was set to 0.

Signed-off-by: Len Brown <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/de363cdbbcfcca1d22569683f7eb9873e0177251.1444968087.git.len.brown@intel.com
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/smpboot.c