summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vimc/vimc-core.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-05-14 22:40:53 +0300
committerHelge Deller <deller@gmx.de>2019-05-20 11:51:39 +0300
commit200036a8e802dee09103031eeeaea91dd212ec99 (patch)
treeeb31041482e465d1cf084d71123b0afa9aeab452 /drivers/media/platform/vimc/vimc-core.c
parent7a95aab57b79b2d5b83b4ac7abceb14c91da0d36 (diff)
downloadlinux-200036a8e802dee09103031eeeaea91dd212ec99.tar.xz
parisc: Allow building 64-bit kernel without -mlong-calls compiler option
A 64-bit kernel built without CONFIG_MLONGCALLS (-mlong-calls compiler option) usually fails to link because of unreachable functions. Try to work around that linking issue by moving the *.init and *.exit text segments closer to the main text segment. With that change those segments now don't get freed at runtime any longer, but since we in most cases run with huge-page enabled, we ignore the lost memory in preference of better performance. This change will not guarantee that every kernel config will now sucessfully build with short calls and without linking issues. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions