diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2026-03-26 22:28:15 -0700 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-04-01 08:12:17 -0700 |
| commit | b6a61d5baf99c012c61ee93f8295185942cd7495 (patch) | |
| tree | af0c2c65d8bd00bba8ca0bb65652a55c508252cd /tools/perf/scripts/python/flamegraph.py | |
| parent | 1eaef15b2349087d9ce583b9153970d5cf5c5329 (diff) | |
cxl/region: Limit visibility of cxl_region_contains_resource()
The dax_hmem dependency on cxl_region_contains_resource() is a one-off
special case. It is not suitable for other use cases.
Move the definition to the other CONFIG_CXL_REGION guarded definitions in
drivers/cxl/cxl.h and include that by a relative path include. This matches
what drivers/dax/cxl.c does for its limited private usage of CXL core
symbols.
Reduce the symbol export visibility from global to just dax_hmem, to
further clarify its applicability.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260327052821.440749-4-dan.j.williams@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
