summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/vpe.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-07-12 18:11:12 -0500
committerRalf Baechle <ralf@linux-mips.org>2015-08-26 15:23:39 +0200
commit1c205b9cc6f66c5caa91fa2644dcf75254c3bfe1 (patch)
tree3204b039f7ff57ce9ee6cc4a41cca8618bbed070 /arch/mips/include/asm/vpe.h
parent27d8d449ba7c553e9e004aaa07b225625b20fd2d (diff)
downloadlinux-1c205b9cc6f66c5caa91fa2644dcf75254c3bfe1.tar.bz2
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 <bhelgaas@google.com> Cc: Andrew Bresticker <abrestic@chromium.org> Cc: linux-mips@linux-mips.org Cc: James Hogan <james.hogan@imgtec.com> Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/10683/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/vpe.h')
0 files changed, 0 insertions, 0 deletions