Skip to contentSkip to conversation

36/37 alpha: add printk() KERN_ constants to

PATCH New James Nelson 1 participant 1 message Aug 30, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 36/37 alpha: add printk() KERN_ constants to

---

arch/alpha/kernel/time.c +2 -2
index b191cc7..152dae2 100644
@@ -173,7 +173,7 @@ common_init_rtc(void)
 	/* Turn on periodic interrupts.  */
 	x = CMOS_READ(RTC_CONTROL);
 	if (!(x & RTC_PIE)) {
-		printk("Turning on RTC interrupts.\n");
+		pr_info("turning on RTC interrupts\n");
 		x |= RTC_PIE;
 		x &= ~(RTC_AIE | RTC_UIE);
 		CMOS_WRITE(x, RTC_CONTROL);
@@ -333,7 +333,7 @@ time_init(void)
 			diff = -diff;
 		if ((unsigned long)diff > tolerance) {
 			cycle_freq = est_cycle_freq;
-			printk("HWRPB cycle frequency bogus.  "
+			pr_info("HWRPB cycle frequency bogus.  "
 			       "Estimated %lu Hz\n", cycle_freq);
 		} else {
 			est_cycle_freq = 0;

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors