powerpc/mpic: Properly set default triggers
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 Apr 2012 17:30:57 +0000 (17:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 23 Apr 2012 01:04:30 +0000 (11:04 +1000)
commit446f6d06fab0b49c61887ecbe8286d6aaa796637
tree6aacba1bd15a3e85b7a4b655ab2164aa75261488
parent3fca40c704dd013797f2c0c518f37cd2cc8e19fe
powerpc/mpic: Properly set default triggers

This gets rid of the unused default senses array, and replaces the
incorrect use of IRQ_TYPE_NONE with the new IRQ_TYPE_DEFAULT for
the initial set_trigger() call when mapping an interrupt.

This in turn makes us read the HW state and update the irq desc
accordingly.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mpic.h
arch/powerpc/sysdev/mpic.c