X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Fmemory_hotplug.c;h=78e34e63c7b880a03d3b7e043def593f81a65ac5;hb=f790c0ca6fad60b544bb73eda8cc841a6436725b;hp=030ce8a5bb0e758e7ea04cc0c851955275356426;hpb=6f5464ce154bc72c67bbc82e818e4fdd61cb9f8e;p=karo-tx-linux.git diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 030ce8a5bb0e..78e34e63c7b8 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -28,6 +28,7 @@ #include #include #include +#include #include @@ -523,6 +524,9 @@ int __ref add_memory(int nid, u64 start, u64 size) BUG_ON(ret); } + /* create new memmap entry */ + firmware_map_add_hotplug(start, start + size, "System RAM"); + goto out; error: