diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2007-02-12 03:54:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:38 -0500 |
commit | a8d91b8477aa433ee0131b031d782411976e1726 (patch) | |
tree | 56e0f08c7da71cbc278721def52819fe33989f3d /arch/ia64/kernel/setup.c | |
parent | 4e498b66104af914ef04d6e7fbbbc13a4f7c936e (diff) |
[PATCH] Dynamic kernel command-line: ia64
1. Rename saved_command_line into boot_command_line.
2. Set command_line as __initdata.
[akpm@osdl.org: move some declarations to the right place]
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/kernel/setup.c')
-rw-r--r-- | arch/ia64/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 83c2629e1c4c..5fa09d141ab7 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -262,7 +262,7 @@ reserve_memory (void) | |||
262 | * appropriate after a kernel panic. | 262 | * appropriate after a kernel panic. |
263 | */ | 263 | */ |
264 | { | 264 | { |
265 | char *from = strstr(saved_command_line, "crashkernel="); | 265 | char *from = strstr(boot_command_line, "crashkernel="); |
266 | unsigned long base, size; | 266 | unsigned long base, size; |
267 | if (from) { | 267 | if (from) { |
268 | size = memparse(from + 12, &from); | 268 | size = memparse(from + 12, &from); |
@@ -463,7 +463,7 @@ setup_arch (char **cmdline_p) | |||
463 | ia64_patch_vtop((u64) __start___vtop_patchlist, (u64) __end___vtop_patchlist); | 463 | ia64_patch_vtop((u64) __start___vtop_patchlist, (u64) __end___vtop_patchlist); |
464 | 464 | ||
465 | *cmdline_p = __va(ia64_boot_param->command_line); | 465 | *cmdline_p = __va(ia64_boot_param->command_line); |
466 | strlcpy(saved_command_line, *cmdline_p, COMMAND_LINE_SIZE); | 466 | strlcpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); |
467 | 467 | ||
468 | efi_init(); | 468 | efi_init(); |
469 | io_port_init(); | 469 | io_port_init(); |