Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / cxl / watermark.h
blob9d81d4a5f6be6fa7c4a97cf6ac8520e68bacf683
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2022 Intel Corporation. All rights reserved. */
3 #ifndef _TEST_CXL_WATERMARK_H_
4 #define _TEST_CXL_WATERMARK_H_
5 #include <linux/module.h>
6 #include <linux/printk.h>
8 int cxl_acpi_test(void);
9 int cxl_core_test(void);
10 int cxl_mem_test(void);
11 int cxl_pmem_test(void);
12 int cxl_port_test(void);
15 * dummy routine for cxl_test to validate it is linking to the properly
16 * mocked module and not the standard one from the base tree.
18 #define cxl_test_watermark(x) \
19 int x##_test(void) \
20 { \
21 pr_debug("%s for cxl_test\n", KBUILD_MODNAME); \
22 return 0; \
23 } \
24 EXPORT_SYMBOL(x##_test)
25 #endif /* _TEST_CXL_WATERMARK_H_ */