diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-09-15 10:17:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-15 10:17:59 -0400 |
commit | 1b3cb73f7306f97a68fa973dec9f3c3b68bd29cf (patch) | |
tree | b88e67dcdce66832980245bcc450233599f857d0 /include/asm-sh64/dma.h | |
parent | 13b9d47ed36e8019a99c798b84c341ef75868e02 (diff) |
[ARM] Tighten pfn_valid() test.
Thomas Gleixner reported that mmaping and unmapping each physical
page in turn eventually caused the kernel to oops. It appears
that pfn_valid() in the discontigmem case was too simplistic for
proper operation.
Tighten the logic so we also check if the PFN is within the range
of the selected memory node.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-sh64/dma.h')
0 files changed, 0 insertions, 0 deletions