From: Ard Biesheuvel Date: Fri, 12 Sep 2014 20:17:23 +0000 (+0200) Subject: mm: export symbol dependencies of is_zero_pfn() X-Git-Tag: fixes-for-v3.18-merge-window~90^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b70068e47e8f0c813a902dc3d6def601fd15acb;p=pandora-kernel.git mm: export symbol dependencies of is_zero_pfn() 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'. 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 Acked-by: Andrew Morton Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed