aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-05-10 19:29:57 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 15:31:37 +1000
commit2d441681a4df7822e6ef6fcc0320bb14d2a06dbb (patch)
tree8b74692bf7ba309b3a9fc9b97decf5df7461a57e /arch/powerpc/platforms/ps3
parentpowerpc: Radix trees are available before init_IRQ (diff)
downloadlinux-dev-2d441681a4df7822e6ef6fcc0320bb14d2a06dbb.tar.xz
linux-dev-2d441681a4df7822e6ef6fcc0320bb14d2a06dbb.zip
powerpc: Return early if irq_host lookup type is wrong
If for some reason the code incrorectly calls the wrong function to manage the revmap, not only should we warn, we should take action. However, in the paths we expect to be taken every delivered interrupt change to WARN_ON_ONCE. Use the if (WARN_ON(x)) format to get the unlikely for free. Signed-off-by: Milton Miller <miltonm@bga.com> Reviewed-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3')
0 files changed, 0 insertions, 0 deletions