Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110094
b: refs/heads/master
c: 61e9916
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and Benjamin Herrenschmidt committed Sep 30, 2008
1 parent 7cd2c8a commit 613bd01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ad611045ce5d059af84a9855b22ca3f7a99d47be
refs/heads/master: 61e9916eba35dfb76d38013a5aae9a59cc50877a
6 changes: 1 addition & 5 deletions trunk/arch/powerpc/kernel/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@
#include <asm/smp.h>

#ifdef CONFIG_HOTPLUG_CPU
/* this is used for software suspend, and that shuts down
* CPUs even while the system is still booting... */
#define cpu_should_die() (cpu_is_offline(smp_processor_id()) && \
(system_state == SYSTEM_RUNNING \
|| system_state == SYSTEM_BOOTING))
#define cpu_should_die() cpu_is_offline(smp_processor_id())
#else
#define cpu_should_die() 0
#endif
Expand Down

0 comments on commit 613bd01

Please sign in to comment.