android_kernel_samsung_msm8976/arch/c6x
Nishanth Menon 781dd2886e C6x: time: Ensure consistency in __init
commit f4831605f2dacd12730fe73961c77253cc2ea425 upstream.

time_init invokes timer64_init (which is __init annotation)
since all of these are invoked at init time, lets maintain
consistency by ensuring time_init is marked appropriately
as well.

This fixes the following warning with CONFIG_DEBUG_SECTION_MISMATCH=y

WARNING: vmlinux.o(.text+0x3bfc): Section mismatch in reference from the function time_init() to the function .init.text:timer64_init()
The function time_init() references
the function __init timer64_init().
This is often because time_init lacks a __init
annotation or the annotation of timer64_init is wrong.

Fixes: 546a39546c ("C6X: time management")
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-06 21:56:28 +02:00
..
boot c6x: use new common dtc rule 2012-12-03 17:17:49 -06:00
configs C6X: add basic support for TMS320C6678 SoC 2012-07-18 23:52:31 -04:00
include add memory barrier to arch_local_irq_restore 2013-04-09 15:35:46 -04:00
kernel C6x: time: Ensure consistency in __init 2015-05-06 21:56:28 +02:00
lib C6X: library code 2011-10-06 19:48:23 -04:00
mm arch: c6x: mm: include "asm/uaccess.h" to pass compiling 2013-07-21 18:21:29 -07:00
platforms C6X: add basic support for TMS320C6678 SoC 2012-07-18 23:52:31 -04:00
Kconfig idle: Remove GENERIC_IDLE_LOOP config switch 2013-04-17 10:39:38 +02:00
Makefile c6x: use new common dtc rule 2012-12-03 17:17:49 -06:00