kernel: add per-cpu data section to kernel image
This commit is contained in:
@@ -31,6 +31,13 @@ SECTIONS {
|
||||
*(.data)
|
||||
}
|
||||
|
||||
.data.percpu ALIGN(4K) : AT(ADDR(.data.percpu) - KERNEL_VMA)
|
||||
{
|
||||
__percpu_start = .;
|
||||
*(.data.percpu)
|
||||
__percpu_end = .;
|
||||
}
|
||||
|
||||
.initcall ALIGN(4K) : AT(ADDR(.initcall) - KERNEL_VMA) {
|
||||
__initcall0_start = .;
|
||||
*(.initcall0.init)
|
||||
|
||||
Reference in New Issue
Block a user