arm: make memory power routines conform to current generic API
The various routines to change memory power state used
in physical memory hotplug and hotremove used to take
a start pfn and a number of pages and return 1 for success
and 0 for failure.
The generic API these are called from now takes a start address
and size and returns a byte count of memory powered on or
off, so the ARM and platform specific routines should as well.
Signed-off-by:
Larry Bassel <lbassel@codeaurora.org>
(cherry picked from commit a4414b164ee44269ac42c4b5abc9da2ce7bd97d4)
Conflicts:
arch/arm/mach-msm/board-msm8960.c
arch/arm/mach-msm/include/mach/memory.h
arch/arm/mach-msm/memory.c
Change-Id: I409a761edd20bdfe7e7c263fb53f3a3b86531bae
Loading
Please register or sign in to comment