From: Roland Stigge Date: Wed, 7 Nov 2012 12:30:50 +0000 (+0100) Subject: ARM: LPC32xx: Relocate calls to irq_set_chained_handler() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~49^2~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e40ec953b6ac21257760730af8c36e2695e4beac;p=pandora-kernel.git ARM: LPC32xx: Relocate calls to irq_set_chained_handler() This patch fixes the issue of an access to a yet uninitialized data structure at the point where irq_set_chained_handler() was called by moving the respective calls to the end of lpc32xx_init_irq(). The call path was: irq_set_chained_handler() -> __irq_set_handler() -> irq_startup() -> irq_enable() -> desc->irq_data.chip->irq_unmask() at which point lpc32xx_unmask_irq() effectively read desc->irq_data.hwirq which was only later initialized. Signed-off-by: Roland Stigge --- Reading git-diff-tree failed