From: Anton Vorontsov Date: Tue, 6 Dec 2011 23:16:26 +0000 (+0400) Subject: of/irq: Get rid of NO_IRQ usage X-Git-Tag: v3.2-rc5~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a7300abad7fe01891b400e88d746f97307ee5a;p=pandora-kernel.git of/irq: Get rid of NO_IRQ usage PPC32/64 defines NO_IRQ to zero, so no problems expected. ARM defines NO_IRQ to -1, but OF code relies on IRQ domains support, which returns correct ('0') value in 'no irq' case. So everything should be fine. Other arches might break if some of their OF drivers rely on NO_IRQ being not 0. If so, the drivers must be fixed, finally. [ Rob Herring points out that microblaze should be fixed, and has posted a patch for testing for that. - Linus ] Signed-off-by: Anton Vorontsov Acked-by: Wolfram Sang Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed