diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-08-25 15:30:51 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-08-25 15:30:51 -0700 |
| commit | ccfef7e7014e9d3b62ff718030f54f6886f2f39e (patch) | |
| tree | 5b8ddabb4132f460cdb12d9ea29778f1b6cf8028 /include/linux | |
| parent | cac55e7f09a17f7c6344b587302ffddf0d586c7e (diff) | |
| parent | a66b3eb5aff1536bc32e5e5eb60393610a21dd06 (diff) | |
Merge "softirq: defer softirq processing to ksoftirqd if CPU is busy with RT"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 57042d91ae9c..baf107821d9a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2481,6 +2481,7 @@ extern void do_set_cpus_allowed(struct task_struct *p, extern int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask); +extern bool cpupri_check_rt(void); #else static inline void do_set_cpus_allowed(struct task_struct *p, const struct cpumask *new_mask) @@ -2493,6 +2494,10 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p, return -EINVAL; return 0; } +static inline bool cpupri_check_rt(void) +{ + return false; +} #endif struct sched_load { |
