xref: /linux/tools/testing/nvdimm/acpi_nfit_test.c (revision 702648721db590b3425c31ade294000e18808345)
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright(c) 2018 Intel Corporation. All rights reserved.
3 
4 #include <linux/module.h>
5 #include <linux/printk.h>
6 #include "watermark.h"
7 #include <nfit.h>
8 
9 nfit_test_watermark(acpi_nfit);
10 
11 /* strong / override definition of nfit_intel_shutdown_status */
12 void nfit_intel_shutdown_status(struct nfit_mem *nfit_mem)
13 {
14 	set_bit(NFIT_MEM_DIRTY_COUNT, &nfit_mem->flags);
15 	nfit_mem->dirty_shutdown = 42;
16 }
17