main.c (bdac5c2b243f68ec15f8203c3348ae79fee8e8d8) | main.c (e306220cb7b7c2948f191414ab06851e143b54c1) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/init/main.c 4 * 5 * Copyright (C) 1991, 1992 Linus Torvalds 6 * 7 * GK 2/5/95 - Changed to support mounting root fs via NFS 8 * Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96 --- 436 unchanged lines hidden (view full) --- 445 ret = xbc_init(data, size, &msg, &pos); 446 if (ret < 0) { 447 if (pos < 0) 448 pr_err("Failed to init bootconfig: %s.\n", msg); 449 else 450 pr_err("Failed to parse bootconfig: %s at %d.\n", 451 msg, pos); 452 } else { | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/init/main.c 4 * 5 * Copyright (C) 1991, 1992 Linus Torvalds 6 * 7 * GK 2/5/95 - Changed to support mounting root fs via NFS 8 * Added initrd & change_root: Werner Almesberger & Hans Lermen, Feb '96 --- 436 unchanged lines hidden (view full) --- 445 ret = xbc_init(data, size, &msg, &pos); 446 if (ret < 0) { 447 if (pos < 0) 448 pr_err("Failed to init bootconfig: %s.\n", msg); 449 else 450 pr_err("Failed to parse bootconfig: %s at %d.\n", 451 msg, pos); 452 } else { |
453 xbc_get_info(&ret, NULL); |
|
453 pr_info("Load bootconfig: %d bytes %d nodes\n", size, ret); 454 /* keys starting with "kernel." are passed via cmdline */ 455 extra_command_line = xbc_make_cmdline("kernel"); 456 /* Also, "init." keys are init arguments */ 457 extra_init_args = xbc_make_cmdline("init"); 458 } 459 return; 460} --- 1171 unchanged lines hidden --- | 454 pr_info("Load bootconfig: %d bytes %d nodes\n", size, ret); 455 /* keys starting with "kernel." are passed via cmdline */ 456 extra_command_line = xbc_make_cmdline("kernel"); 457 /* Also, "init." keys are init arguments */ 458 extra_init_args = xbc_make_cmdline("init"); 459 } 460 return; 461} --- 1171 unchanged lines hidden --- |