Paul Mundt dfc2f91ac2 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>
2009-06-26 04:31:57 +09:00
..
2009-04-01 08:59:13 -07:00
2009-06-16 19:47:28 -07:00
2009-06-16 19:50:13 -07:00
2009-06-23 14:40:26 +01:00
2009-06-16 19:47:40 -07:00
2009-06-16 19:50:13 -07:00
2009-06-23 12:50:05 -07:00
2009-06-26 04:31:57 +09:00
2009-06-18 13:03:47 -07:00
2009-06-18 13:03:47 -07:00
2009-06-23 12:50:05 -07:00