Skip to contentSkip to conversation

2.5 - No early printk for GENERIC

PATCH New Martin Hicks 1 participant 1 message Jun 9, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5 - No early printk for GENERIC

David,

Here is a patch to the ia64 Kconfig file that disables the EARLY_PRINTK menu option if a GENERIC kernel is selected.

As we discussed last week, EARLY_PRINTK doesn't work for GENERIC kernels anymore because readb/readl are now machvecs.

thanks
mh

Signature · 30 lines
Wild Open Source Inc.                  [email protected]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1124  -> 1.1125 
#	   arch/ia64/Kconfig	1.25    -> 1.26   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/06/09	[email protected]	1.1125
# Early printk cannot be used for Generic kernels because
# it uses readb/readl, which are now machvecs and are 
# uninitialized when early printk is called very early
# in the boot.
# --------------------------------------------
#
diff -Nru a/arch/ia64/Kconfig b/arch/ia64/Kconfig
--- a/arch/ia64/Kconfig	Mon Jun  9 11:06:30 2003
+++ b/arch/ia64/Kconfig	Mon Jun  9 11:06:30 2003
@@ -846,7 +846,7 @@
 
 config IA64_EARLY_PRINTK
 	bool "Early printk support"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && !IA64_GENERIC
 	help
 	  Selecting this option uses the VGA screen or serial console for
 	  printk() output before the consoles are initialised.  It is useful