diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-10-06 20:57:22 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-07 16:13:00 +0400 |
commit | 3257f43d9296ed7adcc84e48f6ddf5313cf29266 (patch) | |
tree | 97cfb5a7bcd2d21452a7716c4daa8ea512fc1ab7 /fs/ncpfs/inode.c | |
parent | 32cfb1b16f2b68d2296536811cadfffe26a06c1b (diff) | |
download | linux-3257f43d9296ed7adcc84e48f6ddf5313cf29266.tar.xz |
ARM: 5747/1: Fix the start_pg value in free_memmap()
If sparsemem is enabled, the start_pfn passed to the free_memmap()
function corresponds to an area of memory not known to the kernel and
pfn_to_page returns a wrong value. The (start_pfn - 1), however, is
known to the kernel.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs/ncpfs/inode.c')
0 files changed, 0 insertions, 0 deletions