On Tue, 8 Aug 2006 17:17:00 +0900 (JST)
Magnus Damm <magnus@xxxxxxxxxxxxx> wrote:
> i386: mark two more functions as __init
> cyrix_identify() should be __init because transmeta_identify() is.
> tsc_init() is only called from setup_arch() which is marked as __init.
> These two section mismatches have been detected using running modpost on
> a vmlinux image compiled with CONFIG_RELOCATABLE=y.
> -static void cyrix_identify(struct cpuinfo_x86 * c)
> +static void __init cyrix_identify(struct cpuinfo_x86 * c)
Are we sure? We end up putting a pointer to this into
arch/i386/kernel/cpu/common.c:cpu_devs, and that gets used from __cpuinit