From: Gavin Shan Date: Fri, 23 Jan 2015 03:25:06 +0000 (+1100) Subject: powerpc/powernv: Don't alloc IRQ map if necessary X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~116^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31494cf3532cfee0bf5c913ac9962971aab7b1d4;p=pandora-kernel.git powerpc/powernv: Don't alloc IRQ map if necessary On PowerNV platform, the OPAL interrupts are exported by firmware through device-node property (/ibm,opal::opal-interrupts). Under some extreme circumstances (e.g. simulator), we don't have this property found from the device tree. For that case, we shouldn't allocate the interrupt map. Otherwise, slab complains allocating zero sized memory chunk. Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed