Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d8cc874 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

x86: smpboot maxcpus - add checking for NULL early param



Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Cc: akpm@linux-foundation.org
Cc: andi@firstfloor.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d6cd7eff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1452,6 +1452,7 @@ static int __init parse_maxcpus(char *arg)
{
	extern unsigned int maxcpus;

	if (arg)
		maxcpus = simple_strtoul(arg, NULL, 0);
	return 0;
}