patch-2.4.22 linux-2.4.22/arch/arm/mach-footbridge/arch.c

Next file: linux-2.4.22/arch/arm/mach-footbridge/irq.c
Previous file: linux-2.4.22/arch/arm/mach-epxa10db/time.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/arm/mach-footbridge/arch.c linux-2.4.22/arch/arm/mach-footbridge/arch.c
@@ -41,10 +41,12 @@
 fixup_ebsa285(struct machine_desc *desc, struct param_struct *params,
 	      char **cmdline, struct meminfo *mi)
 {
+#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
 	ORIG_X		 = params->u1.s.video_x;
 	ORIG_Y		 = params->u1.s.video_y;
 	ORIG_VIDEO_COLS  = params->u1.s.video_num_cols;
 	ORIG_VIDEO_LINES = params->u1.s.video_num_rows;
+#endif
 }
 
 MACHINE_START(EBSA285, "EBSA285")

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