From: trini@kernel.crashing.org
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org, paulus@samba.org
Subject: [patch 15/22] __early_param for ppc64
Date: Wed, 24 Mar 2004 19:00:24 -0500 [thread overview]
Message-ID: <20040325000024.RGAG4381.fed1mtao07.cox.net@localhost.localdomain> (raw)
CC: Paul Mackerras <paulus@samba.org>
- Remove saved_command_line (and saving of the command line).
- Call parse_early_options
---
include/asm-ppc64/setup.h | 0
linux-2.6-early_setup-trini/arch/ppc64/kernel/setup.c | 4 +---
linux-2.6-early_setup-trini/arch/ppc64/kernel/vmlinux.lds.S | 5 +++++
3 files changed, 6 insertions(+), 3 deletions(-)
diff -puN arch/ppc64/kernel/setup.c~ppc64 arch/ppc64/kernel/setup.c
--- linux-2.6-early_setup/arch/ppc64/kernel/setup.c~ppc64 2004-03-24 16:15:08.671235087 -0700
+++ linux-2.6-early_setup-trini/arch/ppc64/kernel/setup.c 2004-03-24 16:15:08.679233286 -0700
@@ -80,7 +80,6 @@ unsigned long decr_overclock_proc0_set =
int powersave_nap;
-char saved_command_line[COMMAND_LINE_SIZE];
unsigned char aux_device_present;
void parse_cmd_line(unsigned long r3, unsigned long r4, unsigned long r5,
@@ -619,9 +618,8 @@ void __init setup_arch(char **cmdline_p)
init_mm.end_data = (unsigned long) _edata;
init_mm.brk = klimit;
- /* Save unparsed command line copy for /proc/cmdline */
- strlcpy(saved_command_line, cmd_line, sizeof(saved_command_line));
*cmdline_p = cmd_line;
+ parse_early_options(cmdline_p);
/* set up the bootmem stuff with available memory */
do_init_bootmem();
diff -puN arch/ppc64/kernel/vmlinux.lds.S~ppc64 arch/ppc64/kernel/vmlinux.lds.S
--- linux-2.6-early_setup/arch/ppc64/kernel/vmlinux.lds.S~ppc64 2004-03-24 16:15:08.673234637 -0700
+++ linux-2.6-early_setup-trini/arch/ppc64/kernel/vmlinux.lds.S 2004-03-24 16:15:08.680233061 -0700
@@ -59,6 +59,11 @@ SECTIONS
*(.init.setup)
__setup_end = .;
}
+ __early_param : {
+ __early_begin = .;
+ *(__early_param)
+ __early_end = .;
+ }
__param : {
__start___param = .;
diff -puN include/asm-ppc64/machdep.h~ppc64 include/asm-ppc64/machdep.h
diff -puN include/asm-ppc64/setup.h~ppc64 include/asm-ppc64/setup.h
_
reply other threads:[~2004-03-25 0:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040325000024.RGAG4381.fed1mtao07.cox.net@localhost.localdomain \
--to=trini@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®