Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101633
b: refs/heads/master
c: 5073e7e
h: refs/heads/master
i:
  101631: ce916a4
v: v3
  • Loading branch information
Anton Vorontsov authored and Paul Mackerras committed Jun 9, 2008
1 parent df488cd commit e3f790d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 8a3e1c670e503ddd6f6c373b307f38b783ee3a50
refs/heads/master: 5073e7ee8684f3997b3633a2e5fa574027f37891
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/sysdev/mpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,13 +1143,14 @@ struct mpic * __init mpic_alloc(struct device_node *node,
greg_feature = mpic_read(mpic->gregs, MPIC_INFO(GREG_FEATURE_0));
mpic->num_cpus = ((greg_feature & MPIC_GREG_FEATURE_LAST_CPU_MASK)
>> MPIC_GREG_FEATURE_LAST_CPU_SHIFT) + 1;
if (isu_size == 0)
if (isu_size == 0) {
if (flags & MPIC_BROKEN_FRR_NIRQS)
mpic->num_sources = mpic->irq_count;
else
mpic->num_sources =
((greg_feature & MPIC_GREG_FEATURE_LAST_SRC_MASK)
>> MPIC_GREG_FEATURE_LAST_SRC_SHIFT) + 1;
}

/* Map the per-CPU registers */
for (i = 0; i < mpic->num_cpus; i++) {
Expand Down

0 comments on commit e3f790d

Please sign in to comment.