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