Explorar o código

[POWERPC] iSeries: fix setup initcall

Clearing the progress indicator should only be done if we are running
on legacy iSeries.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Stephen Rothwell %!s(int64=18) %!d(string=hai) anos
pai
achega
e75b171768
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      arch/powerpc/platforms/iseries/setup.c

+ 2 - 1
arch/powerpc/platforms/iseries/setup.c

@@ -527,7 +527,8 @@ static void __init iSeries_fixup_klimit(void)
 static int __init iSeries_src_init(void)
 {
         /* clear the progress line */
-        ppc_md.progress(" ", 0xffff);
+	if (firmware_has_feature(FW_FEATURE_ISERIES))
+		ppc_md.progress(" ", 0xffff);
         return 0;
 }