Skip to content
Snippets Groups Projects
Commit 38b6390a authored by Avi Kivity's avatar Avi Kivity
Browse files

percpu: align percpu data

Make sure percpu data is aligned correctly as some hardware features expect it.
parent 98be27b4
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,11 @@ SECTIONS
_init_array_start = .;
.init_array : { *(SORT_BY_INIT_PRIORITY(.init_array.*)) } :text
_init_array_end = .;
. = ALIGN(4096);
.percpu : {
_percpu_start = .;
*(.percpu)
. = ALIGN(4096);
_percpu_end = .;
. += 0x100000;
_percpu_sec_end = .;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment