Repository navigation
Commit fb65ab6
arm/arm64: KVM: vgic: Parametrize VGIC_NR_SHARED_IRQS
Having a dynamic number of supported interrupts means that we
cannot relly on VGIC_NR_SHARED_IRQS being fixed anymore.
Instead, make it take the distributor structure as a parameter,
so it can return the right value.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>1 parent c1bfb57 commit fb65ab6
2 files changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1086 | 1086 | | |
1087 | 1087 | | |
1088 | 1088 | | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1089 | 1094 | | |
1090 | 1095 | | |
1091 | 1096 | | |
1092 | 1097 | | |
1093 | 1098 | | |
| 1099 | + | |
1094 | 1100 | | |
1095 | 1101 | | |
1096 | 1102 | | |
| |||
1103 | 1109 | | |
1104 | 1110 | | |
1105 | 1111 | | |
1106 | | - | |
| 1112 | + | |
1107 | 1113 | | |
1108 | 1114 | | |
1109 | | - | |
| 1115 | + | |
1110 | 1116 | | |
1111 | 1117 | | |
1112 | | - | |
| 1118 | + | |
1113 | 1119 | | |
1114 | | - | |
| 1120 | + | |
1115 | 1121 | | |
1116 | 1122 | | |
1117 | 1123 | | |
| |||
1368 | 1374 | | |
1369 | 1375 | | |
1370 | 1376 | | |
1371 | | - | |
| 1377 | + | |
1372 | 1378 | | |
1373 | 1379 | | |
1374 | 1380 | | |
| |||
0 commit comments