]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit127779599edd3d54a89b454b182ee8ea275e38fc
tree6aacba1bd15a3e85b7a4b655ab2164aa75261488
parentb21645665bffe935c871b8e1965f76278ed0d65b
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