Skip to content

Commit

Permalink
Dedicate irq to CPU3
Browse files Browse the repository at this point in the history
Signed-off-by: Tiejun Chen <tiejun.china@gmail.com>
  • Loading branch information
Tiejun Chen committed Feb 23, 2018
1 parent 3842781 commit db2c9f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/irqchip/irq-bcm2836.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,9 @@ void bcm2836_arm_irqchip_spin_gpu_irq(void)
{
u32 i;
void __iomem *gpurouting = (intc.base + LOCAL_GPU_ROUTING);
u32 routing_val = readl(gpurouting);

for (i = 1; i <= 3; i++) {
u32 new_routing_val = (routing_val + i) & 3;
for (i = 3; i <= 3; i++) {
u32 new_routing_val = i & 3;

if (cpu_active(new_routing_val)) {
writel(new_routing_val, gpurouting);
Expand Down

0 comments on commit db2c9f3

Please sign in to comment.