+ earlyprintk-re-enable-earlyprintk-calling-early_param.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: earlyprintk: re-enable earlyprintk calling early_param
has been added to the -mm tree.  Its filename is
     earlyprintk-re-enable-earlyprintk-calling-early_param.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/earlyprintk-re-enable-earlyprintk-calling-early_param.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/earlyprintk-re-enable-earlyprintk-calling-early_param.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: Sahara <keun-o.park@xxxxxxxxxxxxx>
Subject: earlyprintk: re-enable earlyprintk calling early_param

Although there are many obs_kernel_param and its names are earlyprintk and
also EARLY_PRINTK is also enabled, we could not see the early_printk
output properly until now.  This patch considers earlycon as well as
earlyprintk.

Signed-off-by: Sahara <keun-o.park@xxxxxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Cc: Prarit Bhargava <prarit@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 init/main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN init/main.c~earlyprintk-re-enable-earlyprintk-calling-early_param init/main.c
--- a/init/main.c~earlyprintk-re-enable-earlyprintk-calling-early_param
+++ a/init/main.c
@@ -426,7 +426,8 @@ static int __init do_early_param(char *p
 	for (p = __setup_start; p < __setup_end; p++) {
 		if ((p->early && parameq(param, p->str)) ||
 		    (strcmp(param, "console") == 0 &&
-		     strcmp(p->str, "earlycon") == 0)
+		     ((strcmp(p->str, "earlycon") == 0) ||
+		     (strcmp(p->str, "earlyprintk") == 0)))
 		) {
 			if (p->setup_func(val) != 0)
 				pr_warn("Malformed early option '%s'\n", param);
_

Patches currently in -mm which might be from keun-o.park@xxxxxxxxxxxxx are

earlyprintk-re-enable-earlyprintk-calling-early_param.patch

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




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux