From: Sam Ravnborg Date: Thu, 17 May 2007 18:14:48 +0000 (+0200) Subject: kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings X-Git-Tag: v2.6.22-rc3~109^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0d314e6a01bb14d303e35e6f7ba24b17020044;p=pandora-kernel.git kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings Throughout the kernel there are a few legitimite references to init or exit sections. Most of these are covered by the patterns included in modpost but a few nees special attention. To avoid hardcoding a lot of function names in modpost introduce a marker so relevant function/data can be marked. When modpost see a reference to a init/exit function from a function/data marked no warning will be issued. Idea from: Andrew Morton Signed-off-by: Sam Ravnborg Cc: Andrew Morton --- Reading git-diff-tree failed