patch-2.4.20 linux-2.4.20/drivers/video/fbcon.c

Next file: linux-2.4.20/drivers/video/fbmem.c
Previous file: linux-2.4.20/drivers/video/fbcon-sti.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/video/fbcon.c linux-2.4.20/drivers/video/fbcon.c
@@ -637,7 +637,7 @@
     }
     
     if (!fontwidthvalid(p,fontwidth(p))) {
-#ifdef CONFIG_MAC
+#if defined(CONFIG_FBCON_MAC) && defined(CONFIG_MAC)
 	if (MACH_IS_MAC)
 	    /* ++Geert: hack to make 6x11 fonts work on mac */
 	    p->dispsw = &fbcon_mac;
@@ -1571,10 +1571,6 @@
 
     if (blank < 0)	/* Entering graphics mode */
 	return 0;
-#ifdef CONFIG_PM
-    if (fbcon_sleeping)
-    	return 0;
-#endif /* CONFIG_PM */
 
     fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)