]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/powerpc/platforms/powernv/setup.c
Revert "powerpc/powernv: Increase memory block size to 1GB on radix"
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / platforms / powernv / setup.c
index fc0412d5914965a342c0c38d9fc4ef001cf2f50c..34e36f91a38e11ea2e3d4cb1e371f34e17b05376 100644 (file)
@@ -362,15 +362,7 @@ static void pnv_kexec_cpu_down(int crash_shutdown, int secondary)
 #ifdef CONFIG_MEMORY_HOTPLUG_SPARSE
 static unsigned long pnv_memory_block_size(void)
 {
-       /*
-        * We map the kernel linear region with 1GB large pages on radix. For
-        * memory hot unplug to work our memory block size must be at least
-        * this size.
-        */
-       if (radix_enabled())
-               return 1UL * 1024 * 1024 * 1024;
-       else
-               return 256UL * 1024 * 1024;
+       return 256UL * 1024 * 1024;
 }
 #endif