powerpc/cpm2: Fix set interrupt type
authorpaulfax <paulfax@conspiracy.net>
Tue, 27 Jan 2009 08:44:07 +0000 (02:44 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 6 Feb 2009 16:44:02 +0000 (10:44 -0600)
commit7f3ea17f316577e31db868f720ac575c74d20163
tree3cec76ecb91c8c8d35c8aa468347f7fd7200ea76
parente85477f516c2de7ed515fcf94ceab5282eba7fa4
powerpc/cpm2: Fix set interrupt type

This is a simple change to correct problems when using set_irq_type
on platforms using CPM2.  This code corrects the problem on most platform
but may have issues on 8272 derived platforms for some interrupts.

On 8272 PC2 & 3 are missing and PC 23 & 29 are added, which this patch
does not address.

Signed-off-by: Paul Bilke <paul@conspiracy.net>
Reviewed-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/cpm2_pic.c