Memory hotplug: Move alternative function definitions to header
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Jun 2013 20:24:07 +0000 (22:24 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Jun 2013 20:24:07 +0000 (22:24 +0200)
commitaba6efc47133af4941cda16e690f71b7ad894da2
tree52c4863acd636118320fe2a47bf2f2d3c5b2a930
parent173a5a4c909789fcd57d00355d2237618a3824a4
Memory hotplug: Move alternative function definitions to header

Move the definitions of offline_pages() and remove_memory()
for CONFIG_MEMORY_HOTREMOVE to memory_hotplug.h, where they belong,
and make them static inline.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/memory_hotplug.h
mm/memory_hotplug.c