Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16345
b: refs/heads/master
c: e13ac21
h: refs/heads/master
i:
  16343: a3314a5
v: v3
  • Loading branch information
Otavio Salvador authored and Linus Torvalds committed Jan 6, 2006
1 parent d5df2b0 commit 38f49c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: fa57f9c2b841872ffad9d8f7b3de23d6ba33c30d
refs/heads/master: e13ac219816c58579f40b48220b2fa5d94c30e84
4 changes: 2 additions & 2 deletions trunk/arch/ppc/kernel/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
void default_idle(void)
{
void (*powersave)(void);
int cpu = smp_processor_id();

powersave = ppc_md.power_save;

Expand All @@ -47,7 +46,8 @@ void default_idle(void)
#ifdef CONFIG_SMP
else {
set_thread_flag(TIF_POLLING_NRFLAG);
while (!need_resched() && !cpu_is_offline(cpu))
while (!need_resched() &&
!cpu_is_offline(smp_processor_id()))
barrier();
clear_thread_flag(TIF_POLLING_NRFLAG);
}
Expand Down

0 comments on commit 38f49c0

Please sign in to comment.