irqchip/irq-bcm7120-l2: Use correct I/O accessors for irq_fwd_mask
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 31 Aug 2017 00:29:16 +0000 (17:29 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 31 Aug 2017 14:32:18 +0000 (15:32 +0100)
commitb304605f0a2c25c028e26a9a3f6aa798693a4051
treecc0e6034f06961d116dde3c222c309fc378ad525
parentc8c7d93dcbf21ebcf7486473e7a9a6addf49caa9
irqchip/irq-bcm7120-l2: Use correct I/O accessors for irq_fwd_mask

Initialization of irq_fwd_mask was done using __raw_writel() which
happens to work for all cases except when using ARM BE8 which requires
writel() (with the proper swapping). Move the initialization of the
irq_fwd_mask till later when we have correctly defined our I/O
accessors.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-bcm7120-l2.c