summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-05-17 20:14:48 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 09:11:58 +0200
commit0e0d314e6a01bb14d303e35e6f7ba24b17020044 (patch)
tree596929a373bbbba7c2d7af4ae6e485a4c584b76f /init
parentca967258b69eb65dcb07bbab90fdf964c6d2ec45 (diff)
downloadop-kernel-dev-0e0d314e6a01bb14d303e35e6f7ba24b17020044.zip
op-kernel-dev-0e0d314e6a01bb14d303e35e6f7ba24b17020044.tar.gz
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 <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud