Merge tag 'powerpc-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[platform/kernel/linux-rpi.git] / arch / powerpc / platforms / pseries / hotplug-memory.c
index 1333d9a..aa4042d 100644 (file)
@@ -585,7 +585,7 @@ static int dlpar_add_lmb(struct drmem_lmb *lmb)
                nid = first_online_node;
 
        /* Add the memory */
-       rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_NONE);
+       rc = __add_memory(nid, lmb->base_addr, block_sz, MHP_MEMMAP_ON_MEMORY);
        if (rc) {
                invalidate_lmb_associativity_index(lmb);
                return rc;