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