diff options
author | 2023-11-06 10:26:45 -0700 | |
---|---|---|
committer | 2023-12-04 16:46:14 -0800 | |
commit | e05501e8a84eee4f819f31b9ce663bddd01b3b69 (patch) | |
tree | 6f7fffcfbb863653c38915046b1af0674e19ab3f /tools/testing/cxl/Kbuild | |
parent | cxl/memdev: Hold region_rwsem during inject and clear poison ops (diff) | |
download | linux-e05501e8a84eee4f819f31b9ce663bddd01b3b69.tar.gz linux-e05501e8a84eee4f819f31b9ce663bddd01b3b69.tar.bz2 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/Kbuild | 1 |
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/ |