X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmmzone.h;h=19f299b7e256b93e4d8d1162153cc422ca1ceb72;hb=138fc1ee06e58f12fc2b755e435ce15bb36a0471;hp=54958d6cae0440353ade0ff8a73f8668a52e5bac;hpb=30765528d156e58d41ed07cae8726c9105111b9d;p=firefly-linux-kernel-4.4.55.git diff --git a/include/asm-powerpc/mmzone.h b/include/asm-powerpc/mmzone.h index 54958d6cae04..19f299b7e256 100644 --- a/include/asm-powerpc/mmzone.h +++ b/include/asm-powerpc/mmzone.h @@ -6,8 +6,8 @@ */ #ifndef _ASM_MMZONE_H_ #define _ASM_MMZONE_H_ +#ifdef __KERNEL__ -#include /* * generic non-linear memory support: @@ -43,8 +43,5 @@ extern unsigned long max_pfn; #endif /* CONFIG_NEED_MULTIPLE_NODES */ -#ifdef CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID -extern int __init early_pfn_to_nid(unsigned long pfn); -#endif - +#endif /* __KERNEL__ */ #endif /* _ASM_MMZONE_H_ */