All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][plugsched 22/28] add boot message
@ 2004-10-30 14:40 Con Kolivas
  0 siblings, 0 replies; only message in thread
From: Con Kolivas @ 2004-10-30 14:40 UTC (permalink / raw)
  To: linux
  Cc: Andrew Morton, Ingo Molnar, Peter Williams, William Lee Irwin III,
	Alexander Nyberg, Nick Piggin


[-- Attachment #1.1: Type: text/plain, Size: 18 bytes --]

add boot message


[-- Attachment #1.2: boot_msg.diff --]
[-- Type: text/x-patch, Size: 831 bytes --]

Add a brief message describing running scheduler to dmesg.

Signed-off-by: Con Kolivas <kernel@kolivas.org>


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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-30 15:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-30 14:40 [PATCH][plugsched 22/28] add boot message Con Kolivas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.