Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 // Copyright(c) 2018 Intel Corporation. All rights reserved.
0003 #ifndef _TEST_NVDIMM_WATERMARK_H_
0004 #define _TEST_NVDIMM_WATERMARK_H_
0005 int pmem_test(void);
0006 int libnvdimm_test(void);
0007 int acpi_nfit_test(void);
0008 int device_dax_test(void);
0009 int dax_pmem_test(void);
0010 int dax_pmem_core_test(void);
0011 int dax_pmem_compat_test(void);
0012 
0013 /*
0014  * dummy routine for nfit_test to validate it is linking to the properly
0015  * mocked module and not the standard one from the base tree.
0016  */
0017 #define nfit_test_watermark(x)              \
0018 int x##_test(void)                  \
0019 {                           \
0020     pr_debug("%s for nfit_test\n", KBUILD_MODNAME); \
0021     return 0;                   \
0022 }                           \
0023 EXPORT_SYMBOL(x##_test)
0024 #endif /* _TEST_NVDIMM_WATERMARK_H_ */