commit | 740cf8a760b73e8375bfb4bedcbe9746183350f9 | [log] [tgz] |
---|---|---|
author | Dietmar Eggemann <dietmar.eggemann@arm.com> | Fri Jul 29 13:13:03 2022 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Tue Aug 02 12:32:45 2022 +0200 |
tree | 32df6e4db3c83a27fa5738b3fb79fcbecfd3a4fb | |
parent | 9de1f9c8ca5100a02a2e271bdbde36202e251b4b [diff] |
sched/core: Introduce sched_asym_cpucap_active() Create an inline helper for conditional code to be only executed on asymmetric CPU capacity systems. This makes these (currently ~10 and future) conditions a lot more readable. Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20220729111305.1275158-2-dietmar.eggemann@arm.com