mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 06:48:22 +00:00
feat: use per-cpu sections
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
SECTIONS {
|
||||
.data.percpu : {
|
||||
__percpu_start = .;
|
||||
*(.data.percpu)
|
||||
__percpu_end = .;
|
||||
}
|
||||
|
||||
.percpu_init_array : {
|
||||
__init_array_percpu_start = .;
|
||||
KEEP(*(.percpu_init_array))
|
||||
__init_array_percpu_end = .;
|
||||
}
|
||||
|
||||
} INSERT AFTER .data;
|
||||
Reference in New Issue
Block a user