From: Ezequiel Garcia Date: Mon, 10 Feb 2014 23:00:24 +0000 (-0300) Subject: watchdog: orion: Handle the interrupt so it's properly acked X-Git-Tag: v3.15-rc1~76^2~22^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e97662e1e28da0da0702db213931d8f9a580970a;p=pandora-kernel.git watchdog: orion: Handle the interrupt so it's properly acked DT-enabled plaforms, where the irqchip driver for the brigde interrupt controller is available, can handle the watchdog IRQ properly. Therefore, request the interrupt and add a dummy handler that merely calls panic(). This is done in order to have an initial 'ack' of the interruption, which clears the watchdog state. Furthermore, since some platforms don't have such IRQ, this commit makes the interrupt specification optional. Tested-by: Sebastian Hesselbarth Tested-by: Willy Tarreau Signed-off-by: Ezequiel Garcia Acked-by: Wim Van Sebroeck Tested-By: Jason Gunthorpe Signed-off-by: Jason Cooper --- Reading git-diff-tree failed