[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mm-commits
Subject:    + kernel-printk-printkc-enable-boot-delay-for-earlyprintk.patch added to -mm tree
From:       akpm () linux-foundation ! org
Date:       2013-10-31 21:24:24
Message-ID: 5272ca88.BKzpLtvuGEbgMWu7%akpm () linux-foundation ! org
[Download RAW message or body]

Subject: + kernel-printk-printkc-enable-boot-delay-for-earlyprintk.patch added to -mm \
                tree
To: dyoung@redhat.com
From: akpm@linux-foundation.org
Date: Thu, 31 Oct 2013 14:24:24 -0700


The patch titled
     Subject: kernel/printk/printk.c: enable boot delay for earlyprintk
has been added to the -mm tree.  Its filename is
     kernel-printk-printkc-enable-boot-delay-for-earlyprintk.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/kernel-printk-printkc-enable-boot-delay-for-earlyprintk.patch
 and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/kernel-printk-printkc-enable-boot-delay-for-earlyprintk.patch


Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Dave Young <dyoung@redhat.com>
Subject: kernel/printk/printk.c: enable boot delay for earlyprintk

boot_delay does not work for earlyprintk because the kernel cmdline
parsing is late.

Change to use early_param so early kernel messages can also be delayed.

Signed-off-by: Dave Young <dyoung@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/printk/printk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/printk/printk.c~kernel-printk-printkc-enable-boot-delay-for-earlyprintk \
                kernel/printk/printk.c
--- a/kernel/printk/printk.c~kernel-printk-printkc-enable-boot-delay-for-earlyprintk
+++ a/kernel/printk/printk.c
@@ -822,7 +822,7 @@ static int __init boot_delay_setup(char
 		boot_delay, preset_lpj, lpj, HZ, loops_per_msec);
 	return 1;
 }
-__setup("boot_delay=", boot_delay_setup);
+early_param("boot_delay", boot_delay_setup);
 
 static void boot_delay_msec(int level)
 {
_

Patches currently in -mm which might be from dyoung@redhat.com are

kernel-printk-printkc-enable-boot-delay-for-earlyprintk.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic