From: Thomas Gleixner Date: Fri, 25 Mar 2011 15:20:15 +0000 (+0100) Subject: powerpc: mpic: Cleanup flow type handling X-Git-Tag: v2.6.39-rc1~6^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a3f2e82bc8cf7ed05294008794f842cf170ea2;p=pandora-kernel.git powerpc: mpic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Retrieve the IRQ_LEVEL information from irq_data which avoids a redundant sparse irq lookup as well. Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed