aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/vmlinux.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r--include/asm-generic/vmlinux.lds.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 1e744c5a0ffe..fc62ac5c6d4f 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -158,6 +158,16 @@
158#define CLKSRC_OF_TABLES() 158#define CLKSRC_OF_TABLES()
159#endif 159#endif
160 160
161#ifdef CONFIG_IRQCHIP
162#define IRQCHIP_OF_MATCH_TABLE() \
163 . = ALIGN(8); \
164 VMLINUX_SYMBOL(__irqchip_begin) = .; \
165 *(__irqchip_of_table) \
166 *(__irqchip_of_end)
167#else
168#define IRQCHIP_OF_MATCH_TABLE()
169#endif
170
161#define KERNEL_DTB() \ 171#define KERNEL_DTB() \
162 STRUCT_ALIGN(); \ 172 STRUCT_ALIGN(); \
163 VMLINUX_SYMBOL(__dtb_start) = .; \ 173 VMLINUX_SYMBOL(__dtb_start) = .; \
@@ -502,7 +512,8 @@
502 CPU_DISCARD(init.rodata) \ 512 CPU_DISCARD(init.rodata) \
503 MEM_DISCARD(init.rodata) \ 513 MEM_DISCARD(init.rodata) \
504 CLKSRC_OF_TABLES() \ 514 CLKSRC_OF_TABLES() \
505 KERNEL_DTB() 515 KERNEL_DTB() \
516 IRQCHIP_OF_MATCH_TABLE()
506 517
507#define INIT_TEXT \ 518#define INIT_TEXT \
508 *(.init.text) \ 519 *(.init.text) \