[PATCH openEuler-22.09 2/7] sched: Move some definition to sched.h