watermark.h 620 B

12345678910111213141516171819202122
  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_
  5. int pmem_test(void);
  6. int libnvdimm_test(void);
  7. int acpi_nfit_test(void);
  8. int device_dax_test(void);
  9. /*
  10. * dummy routine for nfit_test to validate it is linking to the properly
  11. * mocked module and not the standard one from the base tree.
  12. */
  13. #define nfit_test_watermark(x) \
  14. int x##_test(void) \
  15. { \
  16. pr_debug("%s for nfit_test\n", KBUILD_MODNAME); \
  17. return 0; \
  18. } \
  19. EXPORT_SYMBOL(x##_test)
  20. #endif /* _TEST_NVDIMM_WATERMARK_H_ */