aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/entry.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2016-04-29 22:07:31 +0200
committerHelge Deller <deller@gmx.de>2016-05-22 21:46:21 +0200
commit4df3c9ec12077384e0add54f28a9b079a87b59ef (patch)
tree456bf8e9bca4ae2b5e5d1afb58246da6ba5ee65e /arch/parisc/kernel/entry.S
parentselftests/thuge-gen: Use platform specific MAP_HUGETLB value (diff)
downloadlinux-dev-4df3c9ec12077384e0add54f28a9b079a87b59ef.tar.xz
linux-dev-4df3c9ec12077384e0add54f28a9b079a87b59ef.zip
parisc: Merge ftrace C-helper and assembler functions into .text.hot section
When enabling all-branch ftrace support (CONFIG_PROFILE_ALL_BRANCHES) the kernel gets really huge and some ftrace assembler functions like mcount can't reach the ftrace helper functions which are written in C. Avoid this problem of too distant branches by moving the ftrace C-helper functions into the .text.hot section which is put in front of the standard .text section by the linker. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/entry.S')
-rw-r--r--arch/parisc/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
index 39127d3e70e5..2b2b0df67be5 100644
--- a/arch/parisc/kernel/entry.S
+++ b/arch/parisc/kernel/entry.S
@@ -667,7 +667,7 @@
* boundary
*/
- .text
+ .section .text.hot
.align 2048
ENTRY(fault_vector_20)