From: Vivek Goyal Date: Thu, 11 Jan 2007 00:52:44 +0000 (+0100) Subject: [PATCH] i386: Convert some functions to __init to avoid MODPOST warnings X-Git-Tag: v2.6.20-rc5~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88d20328cd66ee05f9b7f4d414640700db69d82b;p=pandora-kernel.git [PATCH] i386: Convert some functions to __init to avoid MODPOST warnings o Some functions which should have been in init sections as they are called only once. Put them in init sections. Otherwise MODPOST generates warning as these functions are placed in .text and they end up accessing something in init sections. WARNING: vmlinux - Section mismatch: reference to .init.text:migration_init from .text between 'do_pre_smp_initcalls' (at offset 0xc01000d1) and 'run_init_process' Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Andi Kleen --- Reading git-diff-tree failed