[PATCH][plugsched 22/28] add boot message

From: Con Kolivas
Date: Sat Oct 30 2004 - 10:15:49 EST


add boot message

Add a brief message describing running scheduler to dmesg.

Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx>


Index: linux-2.6.10-rc1-mm2-plugsched1/init/main.c
===================================================================
--- linux-2.6.10-rc1-mm2-plugsched1.orig/init/main.c 2004-10-29 21:42:39.439489757 +1000
+++ linux-2.6.10-rc1-mm2-plugsched1/init/main.c 2004-10-29 21:48:34.634056880 +1000
@@ -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();
}

Attachment: signature.asc
Description: OpenPGP digital signature