[PATCH openEuler-1.0-LTS 1/1] x86/xen: Add some null pointer checking to smp.c