| Fix gcc(1) warning 'always_inline function might not be inlinable'. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /usr/src/sys/kern/sched_ule.c freebsd-11.1/usr/src/sys/kern/sched_ule.c |
| --- /usr/src/sys/kern/sched_ule.c 2017-07-21 07:41:54.000000000 +0800 |
| +++ freebsd-11.1/usr/src/sys/kern/sched_ule.c 2019-03-22 15:09:02.033645000 +0800 |
| @@ -642,7 +642,7 @@ |
| for ((cpu) = 0; (cpu) <= mp_maxid; (cpu)++) \ |
| if (CPU_ISSET(cpu, &mask)) |
| |
| -static __always_inline int cpu_search(const struct cpu_group *cg, |
| +static inline __always_inline int cpu_search(const struct cpu_group *cg, |
| struct cpu_search *low, struct cpu_search *high, const int match); |
| int __noinline cpu_search_lowest(const struct cpu_group *cg, |
| struct cpu_search *low); |
| @@ -662,7 +662,7 @@ |
| * match argument. It is reduced to the minimum set for each case. It is |
| * also recursive to the depth of the tree. |
| */ |
| -static __always_inline int |
| +static inline __always_inline int |
| cpu_search(const struct cpu_group *cg, struct cpu_search *low, |
| struct cpu_search *high, const int match) |
| { |