]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
mm: fix section mismatch warnings
authorSam Ravnborg <sam@ravnborg.org>
Thu, 17 May 2007 21:29:25 +0000 (23:29 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 19 May 2007 07:11:58 +0000 (09:11 +0200)
commit577a32f620271416d05f852477151fb51c790bc6
tree9c4f219f59fc8117aa7d376d130d57f1ac841a8e
parent92080309df1975729a9f8b45fd56528817e34db8
mm: fix section mismatch warnings

modpost had two cases hardcoded for mm/
Shift over to __init_refok and kill the
hardcoded function names in modpost.

This has the drawback that the functions
will always be kept no matter configuration.
With previous code the function were placed in
init section if configuration allowed it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
mm/page_alloc.c
mm/sparse.c
scripts/mod/modpost.c