diff options
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
| -rw-r--r-- | include/asm-generic/vmlinux.lds.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index d1ea7ce0b4cb..c1fe60ad1540 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
| @@ -150,6 +150,15 @@ | |||
| 150 | #endif | 150 | #endif |
| 151 | 151 | ||
| 152 | 152 | ||
| 153 | #ifdef CONFIG_COMMON_CLK | ||
| 154 | #define CLK_OF_TABLES() . = ALIGN(8); \ | ||
| 155 | VMLINUX_SYMBOL(__clk_of_table) = .; \ | ||
| 156 | *(__clk_of_table) \ | ||
| 157 | *(__clk_of_table_end) | ||
| 158 | #else | ||
| 159 | #define CLK_OF_TABLES() | ||
| 160 | #endif | ||
| 161 | |||
| 153 | #define KERNEL_DTB() \ | 162 | #define KERNEL_DTB() \ |
| 154 | STRUCT_ALIGN(); \ | 163 | STRUCT_ALIGN(); \ |
| 155 | VMLINUX_SYMBOL(__dtb_start) = .; \ | 164 | VMLINUX_SYMBOL(__dtb_start) = .; \ |
| @@ -493,6 +502,7 @@ | |||
| 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) \ |
| 505 | CLK_OF_TABLES() \ | ||
| 496 | KERNEL_DTB() | 506 | KERNEL_DTB() |
| 497 | 507 | ||
| 498 | #define INIT_TEXT \ | 508 | #define INIT_TEXT \ |
