diff options
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
| -rw-r--r-- | include/asm-generic/vmlinux.lds.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index d1ea7ce0b4cb..c80c599897b9 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
| @@ -149,6 +149,15 @@ | |||
| 149 | #define TRACE_SYSCALLS() | 149 | #define TRACE_SYSCALLS() |
| 150 | #endif | 150 | #endif |
| 151 | 151 | ||
| 152 | #ifdef CONFIG_IRQCHIP | ||
| 153 | #define IRQCHIP_OF_MATCH_TABLE() \ | ||
| 154 | . = ALIGN(8); \ | ||
| 155 | VMLINUX_SYMBOL(__irqchip_begin) = .; \ | ||
| 156 | *(__irqchip_of_table) \ | ||
| 157 | *(__irqchip_of_end) | ||
| 158 | #else | ||
| 159 | #define IRQCHIP_OF_MATCH_TABLE() | ||
| 160 | #endif | ||
| 152 | 161 | ||
| 153 | #define KERNEL_DTB() \ | 162 | #define KERNEL_DTB() \ |
| 154 | STRUCT_ALIGN(); \ | 163 | STRUCT_ALIGN(); \ |
| @@ -493,7 +502,8 @@ | |||
| 493 | DEV_DISCARD(init.rodata) \ | 502 | DEV_DISCARD(init.rodata) \ |
| 494 | CPU_DISCARD(init.rodata) \ | 503 | CPU_DISCARD(init.rodata) \ |
| 495 | MEM_DISCARD(init.rodata) \ | 504 | MEM_DISCARD(init.rodata) \ |
| 496 | KERNEL_DTB() | 505 | KERNEL_DTB() \ |
| 506 | IRQCHIP_OF_MATCH_TABLE() | ||
| 497 | 507 | ||
| 498 | #define INIT_TEXT \ | 508 | #define INIT_TEXT \ |
| 499 | *(.init.text) \ | 509 | *(.init.text) \ |
