Skip to content

Commit

Permalink
Blackfin arch: reclaim a few bytes from the end of our init section
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 30, 2007
1 parent 64e5c51 commit 3620805
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions arch/blackfin/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 = .;
Expand Down

0 comments on commit 3620805

Please sign in to comment.