summaryrefslogtreecommitdiff
path: root/security/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-04-30 19:44:12 +0400
committerArnd Bergmann <arnd@arndb.de>2012-10-07 12:33:07 +0400
commite7215fb33acfba65f0a83a2cf3c58c529e042078 (patch)
treed168f6f63e6b8ef3d31cb01f4cb009e4cc0b52a5 /security/Makefile
parent673550a19f01c7955a1321ed9f43a4e2fd9cabf6 (diff)
downloadlinux-e7215fb33acfba65f0a83a2cf3c58c529e042078.tar.xz
ARM: mv78xx0: mark mv78xx0_timer_init as __init_refok
The sys_timer init function is only called at __init time, so it's safe to mark mv78xx0_timer_init as __init_refok, which allows us to call orion_time_init without getting a link time warning. Without this patch, building mv78xx0_defconfig results in: WARNING: vmlinux.o(.text+0x15470): Section mismatch in reference from the function mv78xx0_timer_init() to the function .init.text:orion_time_init() The function mv78xx0_timer_init() references the function __init orion_time_init(). This is often because mv78xx0_timer_init lacks a __init annotation or the annotation of orion_time_init is wrong. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'security/Makefile')
0 files changed, 0 insertions, 0 deletions