summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2026-11-02 12:15:58 -0800
committerDave Jiang <dave.jiang@intel.com>2026-11-02 13:43:25 -0700
commit88262ac09371e0805751dda40812f1f721cace89 (patch)
tree0c73b4bd401f3fcaa8d9553b72f16a0ea819b7d6 /scripts/Makefile.thinlto
parentd523a24a97c41517c9c0c3a3a4df237297fa6cb6 (diff)
downloadlinux-next-88262ac09371e0805751dda40812f1f721cace89.tar.gz
linux-next-88262ac09371e0805751dda40812f1f721cace89.zip
cxl/region: Factor out cxl_port_peer_distance()
cxl_switch_port_setup_targets() is nearly 200 lines long and open codes each step of adding an endpoint to a port's decoder. One of those steps calculates the distance between region positions that share a downstream port. Move that calculation to a new helper, cxl_port_peer_distance(). No functional change. Signed-off-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Reviewed-by: Richard Cheng <icheng@nvidia.com> Reviewed-by: Li Ming <ming.li@zohomail.com> Link: https://patch.msgid.link/2e8fe982c9bd23ebfa1429dee8d593f028660db7.1793649898.git.alison.schofield@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions