remarkable-linux/scripts/mod
Sam Ravnborg 0e0d314e6a 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>
2007-05-19 09:11:58 +02:00
..
.gitignore
empty.c
file2alias.c powerpc: Fix the MODALIAS generation in modpost for of devices 2007-05-19 09:10:10 +02:00
Makefile
mk_elfconfig.c blackfin architecture 2007-05-07 12:12:58 -07:00
modpost.c kbuild: introduce __init_refok/__initdata_refok to supress section mismatch warnings 2007-05-19 09:11:58 +02:00
modpost.h kbuild: make better section mismatch reports on i386, arm and mips 2007-05-19 09:11:57 +02:00
sumversion.c kbuild: include limits.h in sumversion.c for PATH_MAX 2007-05-19 09:10:59 +02:00