diff options
author | Gavin Shan | 2015-01-23 14:25:05 +1100 |
---|---|---|
committer | Michael Ellerman | 2015-01-28 15:28:04 +1100 |
commit | c1c3a526bb4ddbec7639a9fb3b84fede25b201d9 (patch) | |
tree | 2fa22209519544f4733852fd24b4d0696c82c96f /arch/powerpc/include | |
parent | 08135139430fabdeaa990da8a9e0d436aad0672b (diff) |
powerpc/powernv: Separate function for OPAL IRQ setup
The patch put the OPAL interrupt setup logic in opal_init() into
seperate function opal_irq_init() for easier code maintaining. The
patch doesn't introduce logic changes except:
* Rename variable names.
* Release virtual IRQ upon error from request_irq().
* Don't cache the virtual IRQ to opal_irqs[] upon error from
request_irq().
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions