Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

scx: Fix build when !CONFIG_SCHED_CLASS_EXT #184

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kernel/sched/ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static inline void scx_cancel_fork(struct task_struct *p) {}
static inline int scx_check_setscheduler(struct task_struct *p,
int policy) { return 0; }
static inline bool scx_can_stop_tick(struct rq *rq) { return true; }
static inline void scx_tick(void) {}
static inline void scx_tick(struct rq *rq) {}
static inline void scx_next_task_picked(struct rq *rq, struct task_struct *p,
const struct sched_class *active) {}
static inline void init_sched_ext_class(void) {}
Expand Down