aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/vmlinux.lds.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index bc2121fa9132..bd02ca7a1d55 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -167,6 +167,15 @@
167#define CLK_OF_TABLES() 167#define CLK_OF_TABLES()
168#endif 168#endif
169 169
170#ifdef CONFIG_SMP
171#define CPU_METHOD_OF_TABLES() . = ALIGN(8); \
172 VMLINUX_SYMBOL(__cpu_method_of_table_begin) = .; \
173 *(__cpu_method_of_table) \
174 VMLINUX_SYMBOL(__cpu_method_of_table_end) = .;
175#else
176#define CPU_METHOD_OF_TABLES()
177#endif
178
170#define KERNEL_DTB() \ 179#define KERNEL_DTB() \
171 STRUCT_ALIGN(); \ 180 STRUCT_ALIGN(); \
172 VMLINUX_SYMBOL(__dtb_start) = .; \ 181 VMLINUX_SYMBOL(__dtb_start) = .; \
@@ -491,6 +500,7 @@
491 MEM_DISCARD(init.rodata) \ 500 MEM_DISCARD(init.rodata) \
492 CLK_OF_TABLES() \ 501 CLK_OF_TABLES() \
493 CLKSRC_OF_TABLES() \ 502 CLKSRC_OF_TABLES() \
503 CPU_METHOD_OF_TABLES() \
494 KERNEL_DTB() \ 504 KERNEL_DTB() \
495 IRQCHIP_OF_MATCH_TABLE() 505 IRQCHIP_OF_MATCH_TABLE()
496 506