]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4acca23545a9fff83347c0ab74dfff95f7bfd5ff
tree3351cffdb5346d5d788e6e0d8393f67bc36f2ba8
parentfbc24b7985ca4d768d778505db50742783c7c6de
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: 78cbc3a8eda8 ("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