commit | 2421717cb10a06814d7bdb431485aa3a5e364f36 | [log] [tgz] |
---|---|---|
author | Larry Bassel <lbassel@codeaurora.org> | Fri Oct 14 10:36:45 2011 -0700 |
committer | Larry Bassel <lbassel@codeaurora.org> | Tue Oct 25 14:33:46 2011 -0700 |
tree | 3c68d4b1a5c5e6ac951bd95908f7bf156a963b9f | |
parent | bedd1c6828e5e97ebfdd74fbdee404252cb9b8f2 [diff] |
mm: make physical memory offline work In recent versions, the platform specific physical offline returns the number of bytes offlined, so a value of 0 indicates an error, not success as in older versions. Make sure that the memory for the original memory resource nodes is not freed via kfree, as this memory was obtained from alloc_bootmem very early in the system's life. Change-Id: Iffcdd8be4483e043d7605fce596ed438b15f3e02 Signed-off-by: Larry Bassel <lbassel@codeaurora.org>