]> git.baikalelectronics.ru Git - kernel.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)
commitc481139a83a4929b7639b374701855e2272ce2c7
tree9c4f219f59fc8117aa7d376d130d57f1ac841a8e
parentd7f958b4aab617bfe37b28e0f77a7465ab29d8ff
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