[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140912141429.17d570d1a7e1cb99ec73f0f7@linux-foundation.org>
Date: Fri, 12 Sep 2014 14:14:29 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc: kvm@...r.kernel.org, pbonzini@...hat.com,
christoffer.dall@...aro.org, linux-mm@...ck.org,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mips@...ux-mips.org, ralf@...ux-mips.org,
schwidefsky@...ibm.com, heiko.carstens@...ibm.com
Subject: Re: [PATCH] mm: export symbol dependencies of is_zero_pfn()
On Fri, 12 Sep 2014 22:17:23 +0200 Ard Biesheuvel <ard.biesheuvel@...aro.org> wrote:
> In order to make the static inline function is_zero_pfn() callable by
> modules, export its symbol dependencies 'zero_pfn' and (for s390 and
> mips) 'zero_page_mask'.
So hexagon and score get the export if/when needed.
> We need this for KVM, as CONFIG_KVM is a tristate for all supported
> architectures except ARM and arm64, and testing a pfn whether it refers
> to the zero page is required to correctly distinguish the zero page
> from other special RAM ranges that may also have the PG_reserved bit
> set, but need to be treated as MMIO memory.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@...aro.org>
> ---
> arch/mips/mm/init.c | 1 +
> arch/s390/mm/init.c | 1 +
> mm/memory.c | 2 ++
Looks OK to me. Please include the patch in whichever tree is is that
needs it, and merge it up via that tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists