]> git.baikalelectronics.ru Git - kernel.git/commit
irq: change ->set_affinity() to return status, fix
authorIngo Molnar <mingo@elte.hu>
Wed, 6 May 2009 05:55:33 +0000 (07:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 6 May 2009 05:55:33 +0000 (07:55 +0200)
commit335eadd2750f1e4c8af0647f62b6a0f86928a4e4
tree37c4ba8c5fc93996dbd1239ee8c87989180b66e0
parent05f47d9675009a7bf09c25b0a7f71cb7d24a8a41
irq: change ->set_affinity() to return status, fix

This build failure:

 arch/powerpc/sysdev/mpic.c:810: error: conflicting types for 'mpic_set_affinity'
 arch/powerpc/sysdev/mpic.h:39: error: previous declaration of 'mpic_set_affinity' was here
 make[2]: *** [arch/powerpc/sysdev/mpic.o] Error 1
 make[2]: *** Waiting for unfinished jobs....

Triggers because the function prototype was not updated when the
function call signature got changed by:

   c72dd56: irq: change ->set_affinity() to return status

[ Impact: build fix on powerpc ]

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: linux-arch@vger.kernel.org
LKML-Reference: <49F654E9.4070809@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/sysdev/mpic.h