projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e5c51
)
Blackfin arch: reclaim a few bytes from the end of our init section
author
Mike Frysinger
<
[email protected]
>
Tue, 30 Oct 2007 04:00:02 +0000
(12:00 +0800)
committer
Bryan Wu
<
[email protected]
>
Tue, 30 Oct 2007 04:00:02 +0000
(12:00 +0800)
Signed-off-by: Mike Frysinger <
[email protected]
>
Signed-off-by: Bryan Wu <
[email protected]
>
arch/blackfin/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/vmlinux.lds.S
b/arch/blackfin/kernel/vmlinux.lds.S
index eec43674a46589a05411566d009ccc585e699904..9b75bc83c71fac9847cd8e0f578183dbfb87115c 100644
(file)
--- a/
arch/blackfin/kernel/vmlinux.lds.S
+++ b/
arch/blackfin/kernel/vmlinux.lds.S
@@
-172,9
+172,14
@@
SECTIONS
__ebss_b_l1 = .;
}
- ___init_end = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1);
-
- .bss LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1) :
+ /* Force trailing alignment of our init section so that when we
+ * free our init memory, we don't leave behind a partial page.
+ */
+ . = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1);
+ . = ALIGN(PAGE_SIZE);
+ ___init_end = .;
+
+ .bss :
{
. = ALIGN(4);
___bss_start = .;