linux_dsm_epyc7002/arch/sparc64
Sam Ravnborg 7769bd1c65 [SPARC64]: Fix section mismatchs from dr_cpu_data
Fix following warnings:
WARNING: vmlinux.o(.text+0x4b258): Section mismatch in reference from the function dr_cpu_data() to the function .devinit.text:mdesc_fill_in_cpu_data()
WARNING: vmlinux.o(.text+0x4b290): Section mismatch in reference from the function dr_cpu_data() to the function .cpuinit.text:cpu_up()

mdesc_fill_in_cpu_data() is only used during early init and for
cpu hotplug so the __cpuinit annotation is the correct choice.
We have the call chain:
dr_cpu_data() => dr_cpu_configure() => mdesc_fill_in_cpu_data()

dr_cpu_data() is used only during early init and for cpu
hotplug. So annotating them all __cpuinit solves the
section mismatch and should be correct.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-24 19:47:51 -08:00
..
boot [SPARC64]: Add .gitignore file for sparc64 boot images. 2006-02-05 00:15:11 -08:00
kernel [SPARC64]: Fix section mismatchs from dr_cpu_data 2008-02-24 19:47:51 -08:00
lib [SPARC64]: Fix inconsistent .section usage in lib/ 2008-01-31 19:32:44 -08:00
math-emu [SPARC64]: small Makefile cleanups 2007-10-22 02:32:10 -07:00
mm [SPARC64]: Always register a PROM based early console. 2008-02-17 23:22:50 -08:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom [SPARC]: Kill 'prom_palette'. 2008-02-18 15:28:16 -08:00
solaris Introduce path_put() 2008-02-14 21:13:33 -08:00
defconfig [SPARC64]: Update defconfig. 2008-02-17 22:44:32 -08:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-09 23:28:26 -08:00
Kconfig.debug [SPARC64]: Remove DEBUG_BOOTMEM. 2008-02-13 01:00:26 -08:00
Makefile [SPARC64]: Add -mtune=ultrasparc3 if possible. 2008-02-17 22:43:34 -08:00