mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 20:44:32 +08:00
30a8a105f0
The cxl_mem driver uses debugfs to support poison inject and clear. Add debugfs to the list of required symbols so that cxl_test can emulate those poison operations. Signed-off-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/4f3aab57fbf1cc3ccde2eb887c5d90566c8d0e90.1681874357.git.alison.schofield@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
18 lines
513 B
C
18 lines
513 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/bug.h>
|
|
|
|
void check(void)
|
|
{
|
|
/*
|
|
* These kconfig symbols must be set to "m" for cxl_test to load
|
|
* and operate.
|
|
*/
|
|
BUILD_BUG_ON(!IS_ENABLED(CONFIG_64BIT));
|
|
BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS));
|
|
BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI));
|
|
BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM));
|
|
BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST));
|
|
BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST));
|
|
BUILD_BUG_ON(!IS_ENABLED(CONFIG_DEBUG_FS));
|
|
}
|