Skip to contentSkip to conversation

add boot message

PATCH In review Con Kolivas 1 participant 1 message Oct 30, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 22/28 add boot message

add boot message

Add a brief message describing running scheduler to dmesg.

init/main.c +2 -0
Index: linux-2.6.10-rc1-mm2-plugsched1/init/main.c
===================================================================
@@ -47,6 +47,7 @@
 #include <linux/rmap.h>
 #include <linux/mempolicy.h>
 #include <linux/key.h>
+#include <linux/sched.h>
 
 #include <asm/io.h>
 #include <asm/bugs.h>
@@ -590,6 +591,7 @@ asmlinkage void __init start_kernel(void
 
 	acpi_early_init(); /* before LAPIC and SMP init */
 
+	printk("Running with %s cpu scheduler.\n", scheduler->cpusched_name);
 	/* Do the rest non-__init'ed, we're now alive */
 	rest_init();
 }