Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

testing: nvdimm: asm/mce.h is not needed in nfit.c

asm/mce.h is not available on arm, and it is not needed to build nfit.c.
Remove the include.

It was likely needed for COPY_MC_TEST

Fixes: 3adb776384f2 ("x86, libnvdimm/test: Remove COPY_MC_TEST")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Link: https://lore.kernel.org/r/20220429074334.21771-1-msuchanek@suse.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

authored by

Michal Suchanek and committed by
Dan Williams
d43fae7c dccfbc73

-2
-2
tools/testing/nvdimm/test/nfit.c
··· 23 23 #include "nfit_test.h" 24 24 #include "../watermark.h" 25 25 26 - #include <asm/mce.h> 27 - 28 26 /* 29 27 * Generate an NFIT table to describe the following topology: 30 28 *