[PATCH openEuler-1.0-LTS 063/109] kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()