diff options
| author | Arnd Bergmann <[email protected]> | 2017-09-15 19:42:59 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-09-18 07:37:33 +0000 |
| commit | 8fce3dc5c5d6f6301f67311fa79f333902b58cea (patch) | |
| tree | e3d1605bf344db3ecd03a7543966464179666e69 /fs/proc/array.c | |
| parent | Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-8fce3dc5c5d6f6301f67311fa79f333902b58cea.tar.gz kernel-8fce3dc5c5d6f6301f67311fa79f333902b58cea.zip | |
clocksource/integrator: Fix section mismatch warning
gcc-4.6 and older fail to inline integrator_clocksource_init, so they
end up showing a harmless warning:
WARNING: vmlinux.o(.text+0x4aa94c): Section mismatch in reference from the function integrator_clocksource_init() to the function .init.text:clocksource_mmio_init()
The function integrator_clocksource_init() references
the function __init clocksource_mmio_init().
This is often because integrator_clocksource_init lacks a __init
annotation or the annotation of clocksource_mmio_init is wrong.
Add the missing __init annotation that makes it build cleanly with all
compilers.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
