[Linux-stable-mirror] [PATCH 4.14 140/178] powerpc/xmon: Check before calling xive functions