summaryrefslogtreecommitdiffstats
path: root/tools/testing/cxl/Kbuild
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2023-11-06 18:26:45 +0100
committerDan Williams <dan.j.williams@intel.com>2023-12-05 01:46:14 +0100
commite05501e8a84eee4f819f31b9ce663bddd01b3b69 (patch)
tree6f7fffcfbb863653c38915046b1af0674e19ab3f /tools/testing/cxl/Kbuild
parentcxl/memdev: Hold region_rwsem during inject and clear poison ops (diff)
downloadlinux-e05501e8a84eee4f819f31b9ce663bddd01b3b69.tar.xz
linux-e05501e8a84eee4f819f31b9ce663bddd01b3b69.zip
cxl: Add cxl_num_decoders_committed() usage to cxl_test
Commit 458ba8189cb4 ("cxl: Add cxl_decoders_committed() helper") missed the conversion for cxl_test. Add usage of cxl_num_decoders_committed() to replace the open coding. Suggested-by: Alison Schofield <alison.schofield@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Link: https://lore.kernel.org/r/169929160525.824083.11813222229025394254.stgit@djiang5-mobl3 Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/cxl/Kbuild')
-rw-r--r--tools/testing/cxl/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/cxl/Kbuild b/tools/testing/cxl/Kbuild
index 90f3c9802ffb..95dc58b94178 100644
--- a/tools/testing/cxl/Kbuild
+++ b/tools/testing/cxl/Kbuild
@@ -62,5 +62,6 @@ cxl_core-$(CONFIG_TRACING) += $(CXL_CORE_SRC)/trace.o
cxl_core-$(CONFIG_CXL_REGION) += $(CXL_CORE_SRC)/region.o
cxl_core-y += config_check.o
cxl_core-y += cxl_core_test.o
+cxl_core-y += cxl_core_exports.o
obj-m += test/