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>
7
8int cxl_acpi_test(void);
9int cxl_core_test(void);
10int cxl_mem_test(void);
11int cxl_pmem_test(void);
12int cxl_port_test(void);
13
14/*
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.
17 */
18#define cxl_test_watermark(x)				\
19int x##_test(void)					\
20{							\
21	pr_debug("%s for cxl_test\n", KBUILD_MODNAME);	\
22	return 0;					\
23}							\
24EXPORT_SYMBOL(x##_test)
25#endif /* _TEST_CXL_WATERMARK_H_ */
26