Commit 3888ea46 authored by James Morse's avatar James Morse Committed by Zeng Heng
Browse files

x86/resctrl: Wrap resctrl_arch_find_domain() around rdt_find_domain()

maillist inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8T2RT

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/log/?h=mpam/snapshot/v6.7-rc2



---------------------------

rdt_find_domain() finds a domain given a resource and a cache-id.
Its not quite right for the resctrl arch API as it also returns the
position to insert a new domain.

Wrap rdt_find_domain() in a another function resctrl_arch_find_domain()
so we avoid the unnecessary argument outside the arch code.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
parent e690500c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment