aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-03-27 18:02:39 +0100
committerThomas Gleixner <tglx@linutronix.de>2014-03-31 11:12:57 +0200
commit1b422ecd27866985b9f35d0d2b5ae6e9122dd4c0 (patch)
treeac35aeb574347061db21ee7d5405efaf265bb702 /include/linux/kernel_stat.h
parentARM: sun7i/sun6i: dts: Fix IRQ number for sun6i NMI controller (diff)
downloadwireguard-linux-1b422ecd27866985b9f35d0d2b5ae6e9122dd4c0.tar.xz
wireguard-linux-1b422ecd27866985b9f35d0d2b5ae6e9122dd4c0.zip
irqchip: sun7i/sun6i: Disable NMI before registering the handler
It is advisable to disable the NMI before registering the IRQ handler as registering the IRQ handler unmasks the IRQ on the GIC, so if U-Boot has left the NMI enabled and the NMI pin is active we will immediately get an interrupt before any driver has claimed the downstream interrupt of the NMI. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Carlo Caione <carlo@caione.org> Cc: maxime.ripard@free-electrons.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@googlegroups.com Link: http://lkml.kernel.org/r/1395939759-11135-3-git-send-email-carlo@caione.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions