]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: mips-gic: Remove gic_{pending,itrmask}_regs
authorAndrew Bresticker <abrestic@chromium.org>
Mon, 20 Oct 2014 19:03:56 +0000 (12:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:14 +0000 (07:45 +0100)
commitef725a0152de65fc23a4fadd393465c1158c6632
tree9fbd87f0d5039d11b7132b7f3d0332e3b1a08f91
parent21e6a5a06faf629d138827913812e5592df63701
irqchip: mips-gic: Remove gic_{pending,itrmask}_regs

There's no reason for the pending and masked interrupt bitmasks
to be global.  Just declare them on the stack in gic_get_int()
since they only consume (256*2)/8 = 64 bytes.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8131/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/irqchip/irq-mips-gic.c