Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196631
b: refs/heads/master
c: d5f86fe
h: refs/heads/master
i:
  196629: 82629ba
  196627: f9f2b5a
  196623: eba319a
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed May 6, 2010
1 parent ac5ecbd commit b66415d
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1b095cf4029f43db363981c0e5f02216e495ac9f
refs/heads/master: d5f86fe3457f48f27eecd40c605e7876d026af7c
10 changes: 5 additions & 5 deletions trunk/arch/powerpc/kernel/rtasd.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,9 @@ static void rtas_event_scan(struct work_struct *w)

get_online_cpus();

cpu = next_cpu(smp_processor_id(), cpu_online_map);
if (cpu == NR_CPUS) {
cpu = first_cpu(cpu_online_map);
cpu = cpumask_next(smp_processor_id(), cpu_online_mask);
if (cpu >= nr_cpu_ids) {
cpu = cpumask_first(cpu_online_mask);

if (first_pass) {
first_pass = 0;
Expand Down Expand Up @@ -466,8 +466,8 @@ static void start_event_scan(void)
/* Retreive errors from nvram if any */
retreive_nvram_error_log();

schedule_delayed_work_on(first_cpu(cpu_online_map), &event_scan_work,
event_scan_delay);
schedule_delayed_work_on(cpumask_first(cpu_online_mask),
&event_scan_work, event_scan_delay);
}

static int __init rtas_init(void)
Expand Down

0 comments on commit b66415d

Please sign in to comment.