[patch] init_boot_display link error

Amos Waterland apw at us.ibm.com
Thu Mar 3 11:59:48 EST 2005


In pmac_setup.c, the function init_boot_display as currently written
only makes sense with CONFIG_BOOTX_TEXT enabled, and causes a link error
if it is not enabled.

Signed-off-by: Amos Waterland <apw at us.ibm.com>

===== arch/ppc64/kernel/pmac_setup.c 1.15 vs edited =====
--- 1.15/arch/ppc64/kernel/pmac_setup.c	2005-01-08 00:43:52 -05:00
+++ edited/arch/ppc64/kernel/pmac_setup.c	2005-03-02 19:37:31 -05:00
@@ -244,7 +244,6 @@
 {
 	btext_drawchar(c);
 }
-#endif /* CONFIG_BOOTX_TEXT */
 
 static void __init init_boot_display(void)
 {
@@ -280,6 +279,7 @@
 			return;
 	}
 }
+#endif /* CONFIG_BOOTX_TEXT */
 
 /* 
  * Early initialization.



More information about the Linuxppc64-dev mailing list