Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a883b691 authored by Larry Bassel's avatar Larry Bassel Committed by Stephen Boyd
Browse files

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: default avatarLarry 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
parent 65eb531d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment