Merge tag 'md/4.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
[linux-2.6-block.git] / tools / testing / nvdimm / watermark.h
CommitLineData
0fb5c8df
DW
1// SPDX-License-Identifier: GPL-2.0
2// Copyright(c) 2018 Intel Corporation. All rights reserved.
3#ifndef _TEST_NVDIMM_WATERMARK_H_
4#define _TEST_NVDIMM_WATERMARK_H_
5int pmem_test(void);
6int libnvdimm_test(void);
7int acpi_nfit_test(void);
8int device_dax_test(void);
9
10/*
11 * dummy routine for nfit_test to validate it is linking to the properly
12 * mocked module and not the standard one from the base tree.
13 */
14#define nfit_test_watermark(x) \
15int x##_test(void) \
16{ \
17 pr_debug("%s for nfit_test\n", KBUILD_MODNAME); \
18 return 0; \
19} \
20EXPORT_SYMBOL(x##_test)
21#endif /* _TEST_NVDIMM_WATERMARK_H_ */