[PATCH openEuler-5.10 v2 246/548] powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C