]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc.c: use '__paginginit' instead of '__init'
authorChen Gang <gang.chen@asianux.com>
Wed, 11 Sep 2013 21:20:27 +0000 (14:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:57:13 +0000 (15:57 -0700)
commit3ba873175782ece3b1e09897052847edc589e21a
tree01014ad3b3d7ddb407fee59d404e23026188db3e
parent1a92cf2bd3d340d3826e5d75e882221c0c0eef2e
mm/page_alloc.c: use '__paginginit' instead of '__init'

set_pageblock_order() may be called when memory hotplug, so need use
'__paginginit' instead of '__init'.

The related warning:

  The function __meminit .free_area_init_node() references
  a function __init .set_pageblock_order().
  If .set_pageblock_order is only used by .free_area_init_node then
  annotate .set_pageblock_order with a matching annotation.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c