Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81097
b: refs/heads/master
c: 8b5621f
h: refs/heads/master
i:
  81095: ceb8808
v: v3
  • Loading branch information
Milton Miller authored and Paul Mackerras committed Dec 20, 2007
1 parent d14e94e commit 7acb106
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: c481887f2b74f87f714e2b76b8b834e57912bd0a
refs/heads/master: 8b5621f183f7e56958b0a0aae689af5af2efeda7
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ void calculate_steal_time(void)

if (!cpu_has_feature(CPU_FTR_PURR))
return;
pme = &per_cpu(cpu_purr_data, smp_processor_id());
pme = &__get_cpu_var(cpu_purr_data);
if (!pme->initialized)
return; /* this can happen in early boot */
tb = mftb();
Expand All @@ -352,7 +352,7 @@ static void snapshot_purr(void)
if (!cpu_has_feature(CPU_FTR_PURR))
return;
local_irq_save(flags);
pme = &per_cpu(cpu_purr_data, smp_processor_id());
pme = &__get_cpu_var(cpu_purr_data);
pme->tb = mftb();
pme->purr = mfspr(SPRN_PURR);
pme->initialized = 1;
Expand Down

0 comments on commit 7acb106

Please sign in to comment.