Merge tag 'kcsan.2021.11.11a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmc...
[linux-2.6-microblaze.git] / tools / testing / cxl / config_check.c
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/bug.h>
3
4 void check(void)
5 {
6         /*
7          * These kconfig symbols must be set to "m" for cxl_test to load
8          * and operate.
9          */
10         BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS));
11         BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI));
12         BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM));
13 }