diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2007-02-12 03:54:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:38 -0500 |
commit | 4e498b66104af914ef04d6e7fbbbc13a4f7c936e (patch) | |
tree | 67f55547f1810da0016de03a12a4d627dbbe3640 /arch/i386/kernel/head.S | |
parent | 5ff625904cd4e41d70bc01e6683cbb58f312f709 (diff) |
[PATCH] Dynamic kernel command-line: i386
1. Rename saved_command_line into boot_command_line.
2. Set command_line as __initdata.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/head.S')
-rw-r--r-- | arch/i386/kernel/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/head.S b/arch/i386/kernel/head.S index edef5084ce17..cb9abdfced9b 100644 --- a/arch/i386/kernel/head.S +++ b/arch/i386/kernel/head.S | |||
@@ -103,7 +103,7 @@ ENTRY(startup_32) | |||
103 | movzwl OLD_CL_OFFSET,%esi | 103 | movzwl OLD_CL_OFFSET,%esi |
104 | addl $(OLD_CL_BASE_ADDR),%esi | 104 | addl $(OLD_CL_BASE_ADDR),%esi |
105 | 2: | 105 | 2: |
106 | movl $(saved_command_line - __PAGE_OFFSET),%edi | 106 | movl $(boot_command_line - __PAGE_OFFSET),%edi |
107 | movl $(COMMAND_LINE_SIZE/4),%ecx | 107 | movl $(COMMAND_LINE_SIZE/4),%ecx |
108 | rep | 108 | rep |
109 | movsl | 109 | movsl |