projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68acc05
)
[PATCH] machine_shutdown: Typo fix to actually allow specifying which cpu to reboot on
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 26 Jul 2005 18:07:01 +0000
(12:07 -0600)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:44 +0000
(14:35 -0700)
This appears to be a typo I introduced when cleaning
this code up earlier. Ooops.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/reboot.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/reboot.c
b/arch/i386/kernel/reboot.c
index d473350aa05506297ff36583a6028743e1be0b81..1049876702aa33c0d63de40b12a0dc3ce048ac95 100644
(file)
--- a/
arch/i386/kernel/reboot.c
+++ b/
arch/i386/kernel/reboot.c
@@
-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;
}