diff options
author | Li Chen <chenl311@chinatelecom.cn> | 2025-07-10 18:57:07 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-07-14 10:59:34 +0200 |
commit | e075f4360931263f5ec006ea5dadc065e5e98eb8 (patch) | |
tree | 245a444a557e180d10f698a2d9825fa6621c43a4 /rust/helpers/build_assert.c | |
parent | 634c24068abf8f325e520e663250e4a32a95ea0e (diff) |
smpboot: introduce SDTL_INIT() helper to tidy sched topology setup
Define a small SDTL_INIT(maskfn, flagsfn, name) macro and use it to build the
sched_domain_topology_level array. Purely a cleanup; behaviour is unchanged.
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20250710105715.66594-2-me@linux.beauty
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions