Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dax/hmem: Reduce visibility of dax_cxl coordination symbols

No other module or use case should be using dax_hmem_initial_probe or
dax_hmem_flush_work(). Limit their use to dax_hmem, and dax_cxl
respectively.

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-6-dan.j.williams@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>

authored by

Dan Williams and committed by
Dave Jiang
3cba30ee 471d8844

+2 -2
+1 -1
drivers/dax/hmem/device.c
··· 9 9 module_param_named(disable, nohmem, bool, 0444); 10 10 11 11 bool dax_hmem_initial_probe; 12 - EXPORT_SYMBOL_GPL(dax_hmem_initial_probe); 12 + EXPORT_SYMBOL_FOR_MODULES(dax_hmem_initial_probe, "dax_hmem"); 13 13 14 14 static bool platform_initialized; 15 15 static DEFINE_MUTEX(hmem_resource_lock);
+1 -1
drivers/dax/hmem/hmem.c
··· 74 74 { 75 75 flush_work(&dax_hmem_work.work); 76 76 } 77 - EXPORT_SYMBOL_GPL(dax_hmem_flush_work); 77 + EXPORT_SYMBOL_FOR_MODULES(dax_hmem_flush_work, "dax_cxl"); 78 78 79 79 static int __hmem_register_device(struct device *host, int target_nid, 80 80 const struct resource *res)