powerpc/ps3: Interrupt code cleanup
authorGeoff Levand <geoff@infradead.org>
Tue, 29 Nov 2011 15:38:49 +0000 (15:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:05:54 +0000 (14:05 +1100)
commit32b9074bf8d644fa61bbfa32e1917ced079b9756
treeb6e0d60ae676fcfc4fd0e56e445f446a6696afc6
parentfaa8bf8878636e40646d307e0516dbadb3b65b4f
powerpc/ps3: Interrupt code cleanup

General code cleanup for PS3 interrupt.c:

 o Fill out comments for structure members.
 o Move variables ipi_debug_brk_mask and lock from struct ps3_bmp to
   struct ps3_private.
 o Fix pr_debug build errors when DEBUG is defined.
 o Convert bit operation to set_bit().
 o Convert DBG macro from pr_debug to pr_devel
 o Add new macro FAIL to replace pr_debug calls

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/ps3/interrupt.c