build: alloc space for sched list in the link file

Creates a section to contain scheduler entry pointers that are gathered
together into an array. This will allow, in a follow-on patch, scheduler
entries to be automatically gathered together into the array for
automatic parsing.

Signed-off-by: Jonathan Creekmore <jonathan.creekmore@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Jonathan Creekmore authored and Jan Beulich committed 2016-01-21 16:06:10 +01:00
1 parent f3187f83d3
commit 2c94cd917d
2 files changed
+8

No files matched your search

+4
View File
@@ -57,6 +57,10 @@ SECTIONS
. = ALIGN(PAGE_SIZE);
*(.data.page_aligned)
*(.data)
. = ALIGN(8);
__start_schedulers_array = .;
*(.data.schedulers)
__end_schedulers_array = .;
*(.data.rel)
*(.data.rel.*)
CONSTRUCTORS
+4
View File
@@ -80,6 +80,10 @@ SECTIONS
__stop___pre_ex_table = .;
*(.data.read_mostly)
. = ALIGN(8);
__start_schedulers_array = .;
*(.data.schedulers)
__end_schedulers_array = .;
*(.data.rel.ro)
*(.data.rel.ro.*)
} :text
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.