Commit 88ecee4b authored by Zhuling's avatar Zhuling Committed by Zheng Zengkai
Browse files

x86: pmem: move persistent memory(legacy) code into nvdimm

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4O31I



-------------------------

Move x86's pmem.c into nvdimm, and rename X86_PMEM_LEGACY_DEVICE to
PMEM_LEGACY_DEVICE, also add PMEM_LEGACY to control the built of
nd_e820.o, then the code could be reused by other architectures.

Note,this patch fixs the nd_e820.c build introduced by commit 2499317e
("arm64: Revert feature: Add memmap parameter and register pmem").

Signed-off-by: default avatarZhuling <zhuling8@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 5b138fd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment