aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2006-12-06 20:14:03 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:03 -0500
commit6ed018845f1172cdc94f8a20ad807df901c6b7eb (patch)
tree7ad68aa11e2c6fd8fd1228167fb5d8273c4e6784
parent6569580de7ae367def89b7671029cb97c1965574 (diff)
[PATCH] i386: Add comment for align to vmlinux.lds
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de>
-rw-r--r--arch/i386/kernel/vmlinux.lds.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/i386/kernel/vmlinux.lds.S
index cbd24860fbb7..c217e18f1081 100644
--- a/arch/i386/kernel/vmlinux.lds.S
+++ b/arch/i386/kernel/vmlinux.lds.S
@@ -121,6 +121,12 @@ SECTIONS
121 *(.smp_altinstr_replacement) 121 *(.smp_altinstr_replacement)
122 __smp_alt_end = .; 122 __smp_alt_end = .;
123 } 123 }
124 /* will be freed after init
125 * Following ALIGN() is required to make sure no other data falls on the
126 * same page where __smp_alt_end is pointing as that page might be freed
127 * after boot. Always make sure that ALIGN() directive is present after
128 * the section which contains __smp_alt_end.
129 */
124 . = ALIGN(4096); 130 . = ALIGN(4096);
125 131
126 /* will be freed after init */ 132 /* will be freed after init */