diff options
author | Roland Stigge <stigge@antcom.de> | 2012-11-07 13:30:50 +0100 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2012-11-07 13:30:50 +0100 |
commit | e40ec953b6ac21257760730af8c36e2695e4beac (patch) | |
tree | 50eb73d7f58fd046455901894b3e620c0ed4d7b4 /fs/fat | |
parent | 2998b1d3b1ee31e1c21085383226be1b0c496eab (diff) | |
download | linux-e40ec953b6ac21257760730af8c36e2695e4beac.tar.bz2 |
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 <stigge@antcom.de>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions