diff options
| author | Frederic Weisbecker <frederic@kernel.org> | 2025-01-15 02:15:07 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-01-16 16:01:09 +0300 |
| commit | dcf6230555dcd0b05e8d2dd5b128dcc4b6fc04ef (patch) | |
| tree | c9818b64ae0d52735e57b0565fd2cce079fa8d17 /scripts/macro_checker.py | |
| parent | 3ec955713d9617059d2fc8f2816d0b95ace72256 (diff) | |
| download | linux-dcf6230555dcd0b05e8d2dd5b128dcc4b6fc04ef.tar.xz | |
timers/migration: Simplify top level detection on group setup
Having a single group on a given level is enough to know this is the
top level, because a root has to have at least two children, unless that
root is the only group and the children are actual CPUs.
Simplify the test in tmigr_setup_groups() accordingly.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250114231507.21672-5-frederic@kernel.org
Diffstat (limited to 'scripts/macro_checker.py')
0 files changed, 0 insertions, 0 deletions
