Skip to content

Commit

Permalink
[IA64] Use standard macros for page-aligned data.
Browse files Browse the repository at this point in the history
Signed-off-by: Nelson Elhage <nelhage@ksplice.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Nelson Elhage authored and Tony Luck committed Sep 15, 2009
1 parent f172468 commit ed7af3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ RestRR: \
mov _tmp2=((ia64_rid(IA64_REGION_ID_KERNEL, (num<<61)) << 8) | (pgsize << 2) | vhpt);; \
mov rr[_tmp1]=_tmp2

.section __special_page_section,"ax"
__PAGE_ALIGNED_DATA

.global empty_zero_page
empty_zero_page:
Expand Down
4 changes: 3 additions & 1 deletion arch/ia64/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ SECTIONS
{ *(.data.init_task) }

.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET)
{ *(__special_page_section)
{
PAGE_ALIGNED_DATA(PAGE_SIZE)
. = ALIGN(PAGE_SIZE);
__start_gate_section = .;
*(.data.gate)
__stop_gate_section = .;
Expand Down

0 comments on commit ed7af3e

Please sign in to comment.