diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2009-04-07 18:26:54 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-05-21 15:42:56 +1000 |
commit | d69a78d7daada190b42269a73daabe32a5e138a6 (patch) | |
tree | 6b5f61193e75734076e12b2e2ffdc68336ebef08 /arch/powerpc/include/asm/page.h | |
parent | 805e324b7fbddf9f420f0ea09eb61c21777b0526 (diff) | |
download | blackbird-op-linux-d69a78d7daada190b42269a73daabe32a5e138a6.tar.gz blackbird-op-linux-d69a78d7daada190b42269a73daabe32a5e138a6.zip |
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/include/asm/page.h')
0 files changed, 0 insertions, 0 deletions