From: Russell King Date: Sat, 30 Dec 2006 22:24:19 +0000 (+0000) Subject: [ARM] pass vma for flush_anon_page() X-Git-Tag: v2.6.20-rc5~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6f36be32622730710b2fadacb6e2649defa4371;p=pandora-kernel.git [ARM] pass vma for flush_anon_page() Since get_user_pages() may be used with processes other than the current process and calls flush_anon_page(), flush_anon_page() has to cope in some way with non-current processes. It may not be appropriate, or even desirable to flush a region of virtual memory cache in the current process when that is different to the process that we want the flush to occur for. Therefore, pass the vma into flush_anon_page() so that the architecture can work out whether the 'vmaddr' is for the current process or not. Signed-off-by: Russell King --- Reading git-diff-tree failed