Skip to content
Commit e438039e authored by James Morse's avatar James Morse
Browse files

x86/resctrl: Remove rdt_cdp_peer_get()



Now that the configuration can be read from either resource, as they share
the ctrlval array, rdt_cdp_peer_get() is not needed to to map the resource
and search for the corresponding domain.

Replace it with a helper to return the 'other' CODE/DATA type, and use
the existing get-config helper.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 60df5ca3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment