| Fix gcc(1) warning 'always_inline function might not be inlinable'. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names /var/tmp/freebsd-10.3-src/usr/src/sys/kern/sched_ule.c freebsd-10.3/usr/src/sys/kern/sched_ule.c |
| --- /var/tmp/freebsd-10.3-src/usr/src/sys/kern/sched_ule.c 2016-03-25 09:09:26.000000000 +0800 |
| +++ freebsd-10.3/usr/src/sys/kern/sched_ule.c 2019-03-11 20:06:15.381789355 +0800 |
| @@ -622,7 +622,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); |
| @@ -642,7 +642,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) |
| { |