From: Bjorn Helgaas Date: Sun, 12 Jul 2015 23:11:12 +0000 (-0500) Subject: MIPS: VPE: Exit vpe_release() early if vpe_run() isn't defined X-Git-Tag: omap-for-v4.3/fixes-rc1~99^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c205b9cc6f66c5caa91fa2644dcf75254c3bfe1;p=pandora-kernel.git MIPS: VPE: Exit vpe_release() early if vpe_run() isn't defined vpe_run() is a weak symbol. If there's no definition of it, its value is zero. If vpe_run is zero, return failure early. We're going to fail anyway, so there's no point in getting a VPE and attempting to load it. Signed-off-by: Bjorn Helgaas Cc: Andrew Bresticker Cc: linux-mips@linux-mips.org Cc: James Hogan Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/10683/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed