mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
irqchip: mips-gic: Clean up header file
Remove duplicate #defines and unnecessary #includes, fix parenthesization, and re-order register definitions in ascending order. Signed-off-by: Andrew Bresticker <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Paul Burton <[email protected]> Cc: Qais Yousef <[email protected]> Cc: John Crispin <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/8128/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
7110e227c8
commit
824f3f7fa2
2 changed files with 29 additions and 104 deletions
|
|
@ -253,8 +253,8 @@ static unsigned int gic_get_int(void)
|
|||
intrmask = intrmask_regs[smp_processor_id()].intrmask;
|
||||
pcpu_mask = pcpu_masks[smp_processor_id()].pcpu_mask;
|
||||
|
||||
pending_reg = GIC_REG(SHARED, GIC_SH_PEND_31_0);
|
||||
intrmask_reg = GIC_REG(SHARED, GIC_SH_MASK_31_0);
|
||||
pending_reg = GIC_REG(SHARED, GIC_SH_PEND);
|
||||
intrmask_reg = GIC_REG(SHARED, GIC_SH_MASK);
|
||||
|
||||
for (i = 0; i < BITS_TO_LONGS(gic_shared_intrs); i++) {
|
||||
pending[i] = gic_read(pending_reg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue