aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2009-04-07 18:26:54 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-05-21 15:42:56 +1000
commitd69a78d7daada190b42269a73daabe32a5e138a6 (patch)
tree6b5f61193e75734076e12b2e2ffdc68336ebef08 /arch/powerpc/platforms/pseries
parent805e324b7fbddf9f420f0ea09eb61c21777b0526 (diff)
powerpc/mpic: Cleanup mpic_find() implementation
mpic_find() was overloaded to do two things, finding the mpic instance for a given interrupt and returning if it's an IPI. Instead we introduce mpic_is_ipi() and simplify mpic_find() to just return the mpic instance Also silences the warning: arch/powerpc/sysdev/mpic.c: In function 'mpic_irq_set_priority': arch/powerpc/sysdev/mpic.c:1382: warning: 'is_ipi' may be used uninitialized in this function Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Acked-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
0 files changed, 0 insertions, 0 deletions