aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/vmlinux.lds.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 57b1b6811b61..fe77e3395b40 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -141,7 +141,8 @@
141#endif 141#endif
142 142
143#ifdef CONFIG_FTRACE_SYSCALLS 143#ifdef CONFIG_FTRACE_SYSCALLS
144#define TRACE_SYSCALLS() VMLINUX_SYMBOL(__start_syscalls_metadata) = .; \ 144#define TRACE_SYSCALLS() . = ALIGN(8); \
145 VMLINUX_SYMBOL(__start_syscalls_metadata) = .; \
145 *(__syscalls_metadata) \ 146 *(__syscalls_metadata) \
146 VMLINUX_SYMBOL(__stop_syscalls_metadata) = .; 147 VMLINUX_SYMBOL(__stop_syscalls_metadata) = .;
147#else 148#else
@@ -175,10 +176,7 @@
175 VMLINUX_SYMBOL(__stop___verbose) = .; \ 176 VMLINUX_SYMBOL(__stop___verbose) = .; \
176 LIKELY_PROFILE() \ 177 LIKELY_PROFILE() \
177 BRANCH_PROFILE() \ 178 BRANCH_PROFILE() \
178 TRACE_PRINTKS() \ 179 TRACE_PRINTKS()
179 \
180 STRUCT_ALIGN(); \
181 TRACE_SYSCALLS()
182 180
183/* 181/*
184 * Data section helpers 182 * Data section helpers
@@ -483,6 +481,7 @@
483 *(.init.rodata) \ 481 *(.init.rodata) \
484 MCOUNT_REC() \ 482 MCOUNT_REC() \
485 FTRACE_EVENTS() \ 483 FTRACE_EVENTS() \
484 TRACE_SYSCALLS() \
486 DEV_DISCARD(init.rodata) \ 485 DEV_DISCARD(init.rodata) \
487 CPU_DISCARD(init.rodata) \ 486 CPU_DISCARD(init.rodata) \
488 MEM_DISCARD(init.rodata) \ 487 MEM_DISCARD(init.rodata) \