On 2/26/20 5:50 AM, Anshuman Khandual wrote: > Idea of a foreign VMA with respect to the present context is very generic. > But currently there are two identical definitions for this in powerpc and > x86 platforms. Lets consolidate those redundant definitions while making > vma_is_foreign() available for general use later. This should not cause > any functional change. > > Cc: Paul Mackerras <pau...@samba.org> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Andrew Morton <a...@linux-foundation.org> > Cc: x...@kernel.org > Cc: linuxppc-dev@lists.ozlabs.org > Cc: linux-ker...@vger.kernel.org > Cc: linux...@kvack.org > Signed-off-by: Anshuman Khandual <anshuman.khand...@arm.com>
Some comment for the function wouln't hurt, but perhaps it is self-explanatory enough. Acked-by: Vlastimil Babka <vba...@suse.cz>