]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove dependency on CONFIG_FLATMEM from online_page()
authorDaniel Kiper <dkiper@net-space.pl>
Wed, 25 May 2011 00:12:31 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:28 +0000 (08:39 -0700)
commitc3f601d0f24e0e79e22e22622b92f147d5cfab10
tree5b18fa3d8e04d14963796c0ad6f3270cacfc784b
parent41082f94c917722d6c7f7c0978eb94318619a87f
mm: remove dependency on CONFIG_FLATMEM from online_page()

online_pages() is only compiled for CONFIG_MEMORY_HOTPLUG_SPARSE, so there
is no need to support CONFIG_FLATMEM code within it.

This patch removes code that is never used.

Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
Acked-by: Dave Hansen <dave@linux.vnet.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c