]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory_hotplug.c must #include "internal.h"
authorAdrian Bunk <bunk@kernel.org>
Mon, 28 Apr 2008 17:40:08 +0000 (20:40 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 20:44:29 +0000 (13:44 -0700)
commitd374040140d887025ee58aba9597468ff8abae42
treec1b47287f98a660ee9e94c617c9c8d09f815734f
parente39f3e75869861d4032eae956c39775f9bb692c1
mm/memory_hotplug.c must #include "internal.h"

This patch fixes the following compile error caused by commit
e8a23273403ff18b34aa8a5c451621febde44f9b ("memory hotplug: register
section/node id to free"):

    CC      mm/memory_hotplug.o
  /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c: In function ‘put_page_bootmem’:
  /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c:82: error: implicit declaration of function ‘__free_pages_bootmem’
  /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c: At top level:
  /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c:87: warning: no previous prototype for ‘register_page_bootmem_info_section’
  make[2]: *** [mm/memory_hotplug.o] Error 1

[ Andrew: "Argh.  The -mm-only memory-hotplug-add-removable-to-sysfs-
  to-show-memblock-removability.patch debugging patch adds that include
  so nobody hit this before. ]

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c