summaryrefslogtreecommitdiffstats
path: root/tools/testing/nvdimm/acpi_nfit_test.c
blob: fec8fb1b7715eb9f6aa441703ed9eccebef872bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0
// Copyright(c) 2018 Intel Corporation. All rights reserved.

#include <linux/module.h>
#include <linux/printk.h>
#include "watermark.h"
#include <nfit.h>

nfit_test_watermark(acpi_nfit);

/* strong / override definition of nfit_intel_shutdown_status */
void nfit_intel_shutdown_status(struct nfit_mem *nfit_mem)
{
	set_bit(NFIT_MEM_DIRTY_COUNT, &nfit_mem->flags);
	nfit_mem->dirty_shutdown = 42;
}