Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[cascardo/linux.git] / arch / powerpc / platforms / pseries / setup.c
index 099d2df..f2f40e6 100644 (file)
@@ -510,7 +510,11 @@ static void __init pSeries_setup_arch(void)
 static int __init pSeries_init_panel(void)
 {
        /* Manually leave the kernel version on the panel. */
+#ifdef __BIG_ENDIAN__
        ppc_md.progress("Linux ppc64\n", 0);
+#else
+       ppc_md.progress("Linux ppc64le\n", 0);
+#endif
        ppc_md.progress(init_utsname()->version, 0);
 
        return 0;
@@ -806,4 +810,7 @@ define_machine(pseries) {
 #ifdef CONFIG_KEXEC
        .machine_kexec          = pSeries_machine_kexec,
 #endif
+#ifdef CONFIG_MEMORY_HOTPLUG_SPARSE
+       .memory_block_size      = pseries_memory_block_size,
+#endif
 };