Re: +printk-boot_delay-rename-printk_delay_msec-to-loops_per_msec.patchadded to -mm tree
From: Ingo Molnar
Date: Tue Jun 23 2009 - 03:21:32 EST
> +++ a/kernel/printk.c
> @@ -198,12 +198,11 @@ __setup("log_buf_len=", log_buf_len_setu
> #ifdef CONFIG_BOOT_PRINTK_DELAY
>
> static unsigned int boot_delay; /* msecs delay after each printk during bootup */
> -static unsigned long long printk_delay_msec; /* per msec, based on boot_delay */
> +static unsigned long long loops_per_msec;
Lost a comment here - on purpose?
> - printk_delay_msec = loops_per_msec;
> printk(KERN_DEBUG "boot_delay: %u, preset_lpj: %ld, lpj: %lu, "
> - "HZ: %d, printk_delay_msec: %llu\n",
> - boot_delay, preset_lpj, lpj, HZ, printk_delay_msec);
> + "HZ: %d, loops_per_msec: %llu\n",
> + boot_delay, preset_lpj, lpj, HZ, loops_per_msec);
If you touch debug printks then please use pr_debug().
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/