From: Paul Mundt Date: Thu, 25 Jun 2009 19:31:57 +0000 (+0900) Subject: nommu: provide follow_pfn(). X-Git-Tag: v2.6.31-rc2~17^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc2f91ac29f5ef50e74bf15a1a6b6aa6b952e62;p=pandora-kernel.git 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 --- Reading git-diff-tree failed