summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-26 04:31:57 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-26 04:31:57 +0900
commitdfc2f91ac29f5ef50e74bf15a1a6b6aa6b952e62 (patch)
tree0b3eb3ae6b7b21226cf8e1410aa6dd6d0e07a110 /arch/sh
parent1fbcf37128cc19bd67d9a736fb634dc444e907d7 (diff)
downloadop-kernel-dev-dfc2f91ac29f5ef50e74bf15a1a6b6aa6b952e62.zip
op-kernel-dev-dfc2f91ac29f5ef50e74bf15a1a6b6aa6b952e62.tar.gz
nommu: provide follow_pfn().
With the introduction of follow_pfn() as an exported symbol, modules have begun making use of it. Unfortunately this was not reflected on nommu at the time, so the in-tree users have subsequently all blown up with link errors there. This provides a simple follow_pfn() that just returns addr >> PAGE_SHIFT, which will do the right thing on nommu. There is no need to do range checking within the vma, as the find_vma() case will already take care of this. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud