[PATCH] ppc64: quieten RTAS printks

Anton Blanchard anton at samba.org
Thu May 19 22:14:51 EST 2005


Some rtasd printks were too loud. They would appear on a quiet boot
even though they were only informational.

Signed-off-by: Anton Blanchard <anton at samba.org>

Index: foobar2/arch/ppc64/kernel/rtasd.c
===================================================================
--- foobar2.orig/arch/ppc64/kernel/rtasd.c	2005-05-04 13:16:13.000000000 +1000
+++ foobar2/arch/ppc64/kernel/rtasd.c	2005-05-04 15:49:04.836459502 +1000
@@ -440,7 +440,7 @@
 		goto error;
 	}
 
-	printk(KERN_ERR "RTAS daemon started\n");
+	printk(KERN_INFO "RTAS daemon started\n");
 
 	DEBUG("will sleep for %d jiffies\n", (HZ*60/rtas_event_scan_rate) / 2);
 
@@ -485,7 +485,7 @@
 	/* No RTAS, only warn if we are on a pSeries box  */
 	if (rtas_token("event-scan") == RTAS_UNKNOWN_SERVICE) {
 		if (systemcfg->platform & PLATFORM_PSERIES)
-			printk(KERN_ERR "rtasd: no event-scan on system\n");
+			printk(KERN_INFO "rtasd: no event-scan on system\n");
 		return 1;
 	}
 



More information about the Linuxppc64-dev mailing list