Skip to content

Commit

Permalink
[PATCH] i386: Add comment for align to vmlinux.lds
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Vivek Goyal authored and Andi Kleen committed Dec 7, 2006
1 parent 6569580 commit 6ed0188
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/i386/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ SECTIONS
*(.smp_altinstr_replacement)
__smp_alt_end = .;
}
/* will be freed after init
* Following ALIGN() is required to make sure no other data falls on the
* same page where __smp_alt_end is pointing as that page might be freed
* after boot. Always make sure that ALIGN() directive is present after
* the section which contains __smp_alt_end.
*/
. = ALIGN(4096);

/* will be freed after init */
Expand Down

0 comments on commit 6ed0188

Please sign in to comment.