diff options
| author | Russell King <[email protected]> | 2009-09-07 14:06:42 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2009-09-12 10:48:09 +0000 |
| commit | b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd (patch) | |
| tree | a52c6cdbbc7973a4904ec499a607732832e4ca38 /lib/debugobjects.c | |
| parent | Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/px... (diff) | |
| download | kernel-b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd.tar.gz kernel-b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd.zip | |
ARM: Fix pfn_valid() for sparse memory
On OMAP platforms, some people want to declare to segment up the memory
between the kernel and a separate application such that there is a hole
in the middle of the memory as far as Linux is concerned. However,
they want to be able to mmap() the hole.
This currently causes problems, because update_mmu_cache() thinks that
there are valid struct pages for the "hole". Fix this by making
pfn_valid() slightly more expensive, by checking whether the PFN is
contained within the meminfo array.
Signed-off-by: Russell King <[email protected]>
Tested-by: Khasim Syed Mohammed <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
