]> git.baikalelectronics.ru Git - kernel.git/commit
early_pfn_to_nid needs to be __meminit
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 10 May 2007 10:15:27 +0000 (03:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 16:26:52 +0000 (09:26 -0700)
commit3ebcbc652084d899188d66fe5a785ce95d2441dc
tree0c6be41a5d1d77ef78e76ba9d1861a062aef55bd
parent71cc5062dea12fd1bf54d921a96dfc5cb0382372
early_pfn_to_nid needs to be __meminit

Since it is referenced by memmap_init_zone (which is __meminit) via the
early_pfn_in_nid macro when CONFIG_NODES_SPAN_OTHER_NODES is set (which
basically means PowerPC 64).

This removes a section mismatch warning in those circumstances.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c