testing: nvdimm: asm/mce.h is not needed in nfit.c
authorMichal Suchanek <msuchanek@suse.de>
Fri, 29 Apr 2022 07:43:34 +0000 (09:43 +0200)
committerDan Williams <dan.j.williams@intel.com>
Fri, 29 Apr 2022 18:00:10 +0000 (11:00 -0700)
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>
tools/testing/nvdimm/test/nfit.c

index e7e1a640e4828d4c4f45b702d62b44d79a9e37bd..c75abb497a1ac6798bde371a56f63b04d1085c58 100644 (file)
@@ -23,8 +23,6 @@
 #include "nfit_test.h"
 #include "../watermark.h"
 
-#include <asm/mce.h>
-
 /*
  * Generate an NFIT table to describe the following topology:
  *