diff options
author | Bharat Bhushan <Bharat.Bhushan@nxp.com> | 2018-06-29 12:24:32 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-19 13:58:09 +0200 |
commit | fca7bf946e31688edce446fdaa571ccf77e24687 (patch) | |
tree | 87e82200dffc020248d7a970d3202cd73dce719e /arch/powerpc/sysdev/mpic_msgr.c | |
parent | powerpc/hugetlbpage: Rmove unhelpful HUGEPD_*_SHIFT macros (diff) | |
download | linux-fca7bf946e31688edce446fdaa571ccf77e24687.tar.xz linux-fca7bf946e31688edce446fdaa571ccf77e24687.zip |
powerpc/mpic: Pass first free vector number to mpic_setup_error_int()
Update the comment to account for the spurious interrupt number. The
code was already accounting for it, but that was unclear because it
was achieved by mpic_setup_error_int() knowing that the number it was
passed was the last used vector, rather than the first free vector.
So change the meaning of the argument to the first free vector and
update the caller to pass 13, instead of 12, to achieve the same
result.
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
[mpe: Rewrite change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/mpic_msgr.c')
0 files changed, 0 insertions, 0 deletions