[IA64] Use standard macros for page-aligned data.
Signed-off-by: Nelson Elhage <nelhage@ksplice.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
@@ -167,7 +167,7 @@ RestRR: \
|
|||||||
mov _tmp2=((ia64_rid(IA64_REGION_ID_KERNEL, (num<<61)) << 8) | (pgsize << 2) | vhpt);; \
|
mov _tmp2=((ia64_rid(IA64_REGION_ID_KERNEL, (num<<61)) << 8) | (pgsize << 2) | vhpt);; \
|
||||||
mov rr[_tmp1]=_tmp2
|
mov rr[_tmp1]=_tmp2
|
||||||
|
|
||||||
.section __special_page_section,"ax"
|
__PAGE_ALIGNED_DATA
|
||||||
|
|
||||||
.global empty_zero_page
|
.global empty_zero_page
|
||||||
empty_zero_page:
|
empty_zero_page:
|
||||||
|
@@ -219,7 +219,9 @@ SECTIONS
|
|||||||
{ *(.data.init_task) }
|
{ *(.data.init_task) }
|
||||||
|
|
||||||
.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET)
|
.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET)
|
||||||
{ *(__special_page_section)
|
{
|
||||||
|
PAGE_ALIGNED_DATA(PAGE_SIZE)
|
||||||
|
. = ALIGN(PAGE_SIZE);
|
||||||
__start_gate_section = .;
|
__start_gate_section = .;
|
||||||
*(.data.gate)
|
*(.data.gate)
|
||||||
__stop_gate_section = .;
|
__stop_gate_section = .;
|
||||||
|
Reference in New Issue
Block a user