x86, calgary: fix section mismatch warning - get_tce_space_from_tar

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

get_tce_space_from_tar is called only from __init function (calgary_init)
and calls __init function (calgary_bus_has_devices).
So annotate it properly.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Chandru Siddalingappa <chandru@in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Marcin Slusarz and committed by Ingo Molnar f7106662 d19fbfdf

+1 -1
+1 -1
arch/x86/kernel/pci-calgary_64.c
··· 1350 1350 * Function for kdump case. Get the tce tables from first kernel 1351 1351 * by reading the contents of the base adress register of calgary iommu 1352 1352 */ 1353 - static void get_tce_space_from_tar(void) 1353 + static void __init get_tce_space_from_tar(void) 1354 1354 { 1355 1355 int bus; 1356 1356 void __iomem *target;