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

Commit d8e392e7 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

[PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on



This appears to be a typo I introduced when cleaning
this code up earlier. Ooops.

Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 68acc05d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ void machine_shutdown(void)
	reboot_cpu_id = 0;

	/* See if there has been given a command line override */
	if ((reboot_cpu_id != -1) && (reboot_cpu < NR_CPUS) &&
	if ((reboot_cpu != -1) && (reboot_cpu < NR_CPUS) &&
		cpu_isset(reboot_cpu, cpu_online_map)) {
		reboot_cpu_id = reboot_cpu;
	}